forked from mirrors/kingfisher
Refactored into multiple crates. Added the 'validate' subcommand
This commit is contained in:
parent
bd4cd4c2c2
commit
1c45efde3e
4 changed files with 42 additions and 21 deletions
|
|
@ -4,7 +4,8 @@ use std::path::PathBuf;
|
|||
/// Directly validate a known secret against a rule's validator
|
||||
#[derive(Args, Debug, Clone)]
|
||||
pub struct ValidateArgs {
|
||||
/// Rule ID or prefix to use for validation (e.g., kingfisher.opsgenie.1 or kingfisher.opsgenie)
|
||||
/// Rule ID or prefix to use for validation (e.g., aws, opsgenie, or kingfisher.aws.2).
|
||||
/// The `kingfisher.` prefix is optional for built-in rules.
|
||||
#[arg(long, required = true)]
|
||||
pub rule: String,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue