Enum rjc::args::CommandParsers
source · pub enum CommandParsers {
Show 24 variants
Dir(Dir),
Assoc(Assoc),
Netstat(Netstat),
Tasklist(Tasklist),
Ls(Ls),
Wc(Wc),
Du,
Cksum,
Env,
File,
Chage(Chage),
Acpi(Acpi),
Passwd(Passwd),
Shadow(Shadow),
Timedatectl(Timedatectl),
Time(Time),
W(W),
Sysctl(Sysctl),
Airport(Airport),
Lsd,
EmailAddress,
Timestamp(Timestamp),
Version(Version),
Ps(Ps),
}Variants§
Dir(Dir)
dir command parser
Assoc(Assoc)
assoc command parser
Netstat(Netstat)
“netstat -an” command parser
Tasklist(Tasklist)
tasklist command parser
Ls(Ls)
ls command parser
Wc(Wc)
wc command parser
Du
du command parser
Cksum
cksum command parser
Env
env command parser
File
file command parser
Chage(Chage)
chage command parser
Acpi(Acpi)
acpi command parser
Passwd(Passwd)
passwd command parser
Shadow(Shadow)
shadow command parser
Timedatectl(Timedatectl)
timedatectl command parser
Time(Time)
time command parser
W(W)
w command parser
Sysctl(Sysctl)
sysctl command parser
Airport(Airport)
airport command parser
Lsd
lsd command parser
EmailAddress
email address format parser
Timestamp(Timestamp)
timestamp command parser
Version(Version)
version command parser
Ps(Ps)
ps command parser
Trait Implementations§
source§impl Debug for CommandParsers
impl Debug for CommandParsers
source§impl FromArgMatches for CommandParsers
impl FromArgMatches for CommandParsers
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 CommandParsers
impl Subcommand for CommandParsers
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
source§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 RefUnwindSafe for CommandParsers
impl Send for CommandParsers
impl Sync for CommandParsers
impl Unpin for CommandParsers
impl UnwindSafe for CommandParsers
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