Enum kanidm_cli::GroupOpt
source · pub enum GroupOpt {
List(CommonOpt),
Get(Named),
Create(Named),
Delete(Named),
ListMembers(Named),
SetMembers(GroupNamedMembers),
PurgeMembers(Named),
AddMembers(GroupNamedMembers),
RemoveMembers(GroupNamedMembers),
Posix {
commands: GroupPosix,
},
}
Variants§
List(CommonOpt)
List all groups
Get(Named)
View a specific group
Create(Named)
Create a new group
Delete(Named)
Delete a group
ListMembers(Named)
List the members of a group
SetMembers(GroupNamedMembers)
Set the exact list of members that this group should contain, removing any not listed in the set operation.
PurgeMembers(Named)
Delete all members of a group.
AddMembers(GroupNamedMembers)
Add new members to a group
RemoveMembers(GroupNamedMembers)
Remove the named members from this group
Posix
Fields
§
commands: GroupPosix
Manage posix extensions for this group allowing groups to be used on unix/linux systems
Implementations§
Trait Implementations§
source§impl FromArgMatches for GroupOpt
impl FromArgMatches for GroupOpt
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 GroupOpt
impl Subcommand for GroupOpt
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