pub enum PermissionsAction {
Show(PermissionsShowArgs),
Path(PermissionsPathArgs),
Init(PermissionsInitArgs),
Check(PermissionsCheckArgs),
Staging(StagingAction),
}Variants§
Show(PermissionsShowArgs)
Print the effective policy (both file paths + bodies).
Path(PermissionsPathArgs)
Print the two candidate file paths, one per line.
Init(PermissionsInitArgs)
Write a starter policy to the selected scope.
Check(PermissionsCheckArgs)
Dry-run a permissions check without hitting the network.
Staging(StagingAction)
Staged-commit workflow: queue mutations in a .pending file and
only sign on commit. See cli::permissions.
Trait Implementations§
Source§impl Debug for PermissionsAction
impl Debug for PermissionsAction
Source§impl FromArgMatches for PermissionsAction
impl FromArgMatches for PermissionsAction
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 PermissionsAction
impl Subcommand for PermissionsAction
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 PermissionsAction
impl RefUnwindSafe for PermissionsAction
impl Send for PermissionsAction
impl Sync for PermissionsAction
impl Unpin for PermissionsAction
impl UnsafeUnpin for PermissionsAction
impl UnwindSafe for PermissionsAction
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