pub enum GitSubcommand {
AllowedSigners(AllowedSignersCommand),
InstallHooks(InstallHooksCommand),
}Variants§
AllowedSigners(AllowedSignersCommand)
Generate allowed_signers file from Auths device authorizations.
Scans the identity repository for authorized devices and outputs an allowed_signers file compatible with Git’s ssh.allowedSignersFile.
InstallHooks(InstallHooksCommand)
Install Git hooks for automatic allowed_signers regeneration.
Installs a post-merge hook that regenerates the allowed_signers file when identity refs change after a git pull/merge.
Trait Implementations§
Source§impl Clone for GitSubcommand
impl Clone for GitSubcommand
Source§fn clone(&self) -> GitSubcommand
fn clone(&self) -> GitSubcommand
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 GitSubcommand
impl Debug for GitSubcommand
Source§impl FromArgMatches for GitSubcommand
impl FromArgMatches for GitSubcommand
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 GitSubcommand
impl Subcommand for GitSubcommand
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 GitSubcommand
impl RefUnwindSafe for GitSubcommand
impl Send for GitSubcommand
impl Sync for GitSubcommand
impl Unpin for GitSubcommand
impl UnsafeUnpin for GitSubcommand
impl UnwindSafe for GitSubcommand
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