pub enum OrgSubcommand {
Init {
name: String,
local_key_alias: Option<String>,
metadata_file: Option<PathBuf>,
},
Attest {
subject: String,
payload_file: PathBuf,
note: Option<String>,
expires_at: Option<String>,
signer_alias: Option<String>,
},
Revoke {
subject: String,
note: Option<String>,
signer_alias: Option<String>,
},
Show {
subject: String,
include_revoked: bool,
},
List {
include_revoked: bool,
},
AddMember {
org: String,
member: String,
role: CliRole,
capabilities: Option<Vec<String>>,
signer_alias: Option<String>,
note: Option<String>,
},
RevokeMember {
org: String,
member: String,
note: Option<String>,
signer_alias: Option<String>,
},
ListMembers {
org: String,
include_revoked: bool,
},
}Expand description
Subcommands for managing authorizations issued by this identity.
Variants§
Init
Initialize a new organization identity
Fields
Attest
Fields
Revoke
Show
List
AddMember
Add a member to an organization
Fields
RevokeMember
Revoke a member from an organization
Fields
ListMembers
List members of an organization
Trait Implementations§
Source§impl Clone for OrgSubcommand
impl Clone for OrgSubcommand
Source§fn clone(&self) -> OrgSubcommand
fn clone(&self) -> OrgSubcommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrgSubcommand
impl Debug for OrgSubcommand
Source§impl FromArgMatches for OrgSubcommand
impl FromArgMatches for OrgSubcommand
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 OrgSubcommand
impl Subcommand for OrgSubcommand
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 OrgSubcommand
impl RefUnwindSafe for OrgSubcommand
impl Send for OrgSubcommand
impl Sync for OrgSubcommand
impl Unpin for OrgSubcommand
impl UnsafeUnpin for OrgSubcommand
impl UnwindSafe for OrgSubcommand
Blanket Implementations§
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