Enum kanidm_cli::KanidmClientOpt
source · pub enum KanidmClientOpt {
Show 13 variants
Login(LoginOpt),
Reauth(ReauthOpt),
Logout(LogoutOpt),
Session {
commands: SessionOpt,
},
CSelf {
commands: SelfOpt,
},
Person {
commands: PersonOpt,
},
Group {
commands: GroupOpt,
},
ServiceAccount {
commands: ServiceAccountOpt,
},
Graph(GraphCommonOpt),
System {
commands: SystemOpt,
},
Recycle {
commands: RecycleOpt,
},
Raw {
commands: RawOpt,
},
Version {},
}
Variants§
Login(LoginOpt)
Login to an account to use with future cli operations
Reauth(ReauthOpt)
Reauthenticate to access privileged functions of this account for a short period.
Logout(LogoutOpt)
Logout of an active cli session
Session
Manage active cli sessions
Fields
§
commands: SessionOpt
CSelf
Actions for the current authenticated account
Person
Actions to manage and view person (user) accounts
Group
Actions to manage groups
ServiceAccount
Actions to manage and view service accounts
Fields
§
commands: ServiceAccountOpt
Graph(GraphCommonOpt)
Prints graphviz dot file of all groups
System
System configuration operations
Recycle
Recycle Bin operations
Fields
§
commands: RecycleOpt
Raw
Unsafe - low level, raw database queries and operations.
Version
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) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moresource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations§
impl Freeze for KanidmClientOpt
impl RefUnwindSafe for KanidmClientOpt
impl Send for KanidmClientOpt
impl Sync for KanidmClientOpt
impl Unpin for KanidmClientOpt
impl UnwindSafe for KanidmClientOpt
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more