CliIntegrationSpec
Module: spec::cli::CliIntegrationSpec
Section titled “Module: spec::cli::CliIntegrationSpec”Contents
Section titled “Contents”Functions
new- Validated constructor.resolve_args- Classifies an invocation as sensitive, safe to pass through, or
firma_secret_provider::spec::cli::CliIntegrationSpec::new
Section titled “firma_secret_provider::spec::cli::CliIntegrationSpec::new”Function
Validated constructor.
Enforces the same validation as TryFrom<CliSecretProviderConfig>: a
portable, non-reserved executable basename, empty option names,
allow_attached_value without takes_value, and conflicting
[FlagSpec] definitions.
Errors
Section titled “Errors”Returns [CliIntegrationConfigError] when validation fails.
fn new(params: CliIntegrationSpecParams<Matcher>) -> Result<Self, CliIntegrationConfigError>firma_secret_provider::spec::cli::CliIntegrationSpec::resolve_args
Section titled “firma_secret_provider::spec::cli::CliIntegrationSpec::resolve_args”Function
Classifies an invocation as sensitive, safe to pass through, or blocked. Malformed recognized options fail closed.
fn resolve_args(self: &Self, args: &[String]) -> MatchingResolution<Matcher>