pub enum SyncCommands {
Force,
Status,
Logs {
lines: usize,
},
}Expand description
Credential synchronization commands.
These commands control when and how credentials are synchronized to configured GitHub targets, with options for forced sync and monitoring.
Variants§
Force
Force sync credentials to all targets (ignores change detection)
Performs immediate synchronization to all configured organizations and repositories, bypassing change detection. Useful for testing or when manual sync is required.
Status
Show detailed sync status for all targets
Displays comprehensive sync status including:
- Last successful sync timestamps for each target
- Failed sync attempts and error details
- Credential change detection status
- Next scheduled sync times
Logs
Show daemon sync logs
Displays recent log entries from the background daemon, including sync operations, errors, and system events.
Trait Implementations§
Source§impl FromArgMatches for SyncCommands
impl FromArgMatches for SyncCommands
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 SyncCommands
impl Subcommand for SyncCommands
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 SyncCommands
impl RefUnwindSafe for SyncCommands
impl Send for SyncCommands
impl Sync for SyncCommands
impl Unpin for SyncCommands
impl UnwindSafe for SyncCommands
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