Enum kanidmd::KanidmdOpt
source · pub(crate) enum KanidmdOpt {
Server(CommonOpt),
ConfigTest(CommonOpt),
RecoverAccount(RecoverAccountOpt),
DbScan {
commands: DbScanOpt,
},
Database {
commands: DbCommands,
},
DomainSettings {
commands: DomainSettingsCmds,
},
HealthCheck(HealthCheckArgs),
Version(CommonOpt),
}
Variants§
Server(CommonOpt)
Start the IDM Server
ConfigTest(CommonOpt)
Test the IDM Server configuration, without starting network listeners.
RecoverAccount(RecoverAccountOpt)
Recover an account’s password
DbScan
Inspect the internal content of the database datastructures.
Database
Fields
§
commands: DbCommands
Database maintenance, backups, restoration etc.
DomainSettings
Fields
§
commands: DomainSettingsCmds
Change domain settings
HealthCheck(HealthCheckArgs)
Load the server config and check services are listening
Version(CommonOpt)
Print the program version and exit
Implementations§
Trait Implementations§
source§impl Debug for KanidmdOpt
impl Debug for KanidmdOpt
source§impl FromArgMatches for KanidmdOpt
impl FromArgMatches for KanidmdOpt
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 KanidmdOpt
impl Subcommand for KanidmdOpt
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