pub enum Commands {
Status,
Timer,
Daemon,
Org(OrgCommands),
Repo(RepoCommands),
Sync {
command: Option<SyncCommands>,
},
Service(ServiceCommands),
Configure,
}Expand description
Available top-level commands for the Claude Code Toolkit.
These commands provide access to all major functionality including session monitoring, credential synchronization, service management, and configuration.
Variants§
Status
Show Claude Code session and sync status
Displays current session information including:
- Session expiration time and remaining duration
- Last successful sync timestamps
- Configured organizations and repositories
- Service status (running, stopped, etc.)
Timer
Show real-time session timer
Displays a live countdown timer showing time remaining in the current Claude Code session. Updates every second until session expires.
Daemon
Run as daemon (used by systemd)
Starts the background daemon service for automatic credential synchronization. This command is typically called by systemd and not run directly by users.
Org(OrgCommands)
Organization management
Commands for managing GitHub organizations that will receive automatic credential synchronization.
Repo(RepoCommands)
Repository management
Commands for managing individual GitHub repositories for credential synchronization.
Sync
Sync credentials to all configured targets (smart - only if changed)
Performs credential synchronization with intelligent change detection. By default, only syncs if credentials have changed since last sync. Use subcommands for forced sync or status checking.
Fields
command: Option<SyncCommands>Service(ServiceCommands)
Service management
Commands for managing the background daemon service, including installation, lifecycle control, and removal.
Configure
Interactive configuration wizard
Launches an interactive setup process to configure GitHub integration, sync settings, and service options.
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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>
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>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
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
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
Self can parse a specific subcommand