Enum shelf::SlfActions
source · pub enum SlfActions {
Track {
path: PathBuf,
},
List,
Remove {
path: PathBuf,
},
Sync,
Suggest {
interactive: bool,
},
}Variants§
Track
Track a new dotfile or multiple dotfiles for management This command adds the specified file(s) to the list of tracked dotfiles, allowing them to be synchronized across different environments.
Fields
List
List all currently tracked dotfiles This command displays a comprehensive list of all dotfiles that are currently being managed by the system, including their paths and status.
Remove
Remove a tracked dotfile from management This command stops tracking the specified dotfile, removing it from the list of managed files without deleting the actual file.
Fields
Sync
Synchronize all tracked dotfiles across environments This command ensures that all tracked dotfiles are up-to-date and consistent across different systems or backup locations.
Suggest
Suggest commonly used configuration files This command provides a list of popular dotfiles and configuration files commonly used across Linux and macOS systems.
Trait Implementations§
source§impl FromArgMatches for SlfActions
impl FromArgMatches for SlfActions
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 SlfActions
impl Subcommand for SlfActions
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