Enum kanidm_cli::PwBadlistOpt
source · pub enum PwBadlistOpt {
Show(CommonOpt),
Upload {
copt: CommonOpt,
paths: Vec<PathBuf>,
dryrun: bool,
},
Remove {
copt: CommonOpt,
paths: Vec<PathBuf>,
},
}
Variants§
Show(CommonOpt)
Show information about this system’s password badlist
Upload
Fields
Upload an extra badlist, appending to the currently configured one. This badlist will be preprocessed to remove items that are already caught by “zxcvbn” at the configured level.
Remove
Remove the content of these lists if present in the configured badlist.
Implementations§
Trait Implementations§
source§impl Debug for PwBadlistOpt
impl Debug for PwBadlistOpt
source§impl FromArgMatches for PwBadlistOpt
impl FromArgMatches for PwBadlistOpt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Subcommand for PwBadlistOpt
impl Subcommand for PwBadlistOpt
source§fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
source§fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommand