Enum kanidm_cli::KanidmClientOpt
source · pub enum KanidmClientOpt {
Login(LoginOpt),
Logout(LogoutOpt),
Session {
commands: SessionOpt,
},
CSelf {
commands: SelfOpt,
},
Person {
commands: PersonOpt,
},
Group {
commands: GroupOpt,
},
ServiceAccount {
commands: ServiceAccountOpt,
},
System {
commands: SystemOpt,
},
Recycle {
commands: RecycleOpt,
},
Raw {
commands: RawOpt,
},
Version {},
}
Variants§
Login(LoginOpt)
Login to an account to use with future cli operations
Logout(LogoutOpt)
Logout of an active cli session
Session
Fields
§
commands: SessionOpt
Manage active cli sessions
CSelf
Actions for the current authenticated account
Person
Actions to manage and view person (user) accounts
Group
Actions to manage groups
ServiceAccount
Fields
§
commands: ServiceAccountOpt
Actions to manage and view service accounts
System
System configuration operations
Recycle
Fields
§
commands: RecycleOpt
Recycle Bin operations
Raw
Unsafe - low level, raw database queries and operations.
Version
Fields
Print the program version and exit
Implementations§
Trait Implementations§
source§impl Debug for KanidmClientOpt
impl Debug for KanidmClientOpt
source§impl FromArgMatches for KanidmClientOpt
impl FromArgMatches for KanidmClientOpt
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 KanidmClientOpt
impl Subcommand for KanidmClientOpt
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