pub enum Commands {
Show 16 variants
Account {
command: Account,
},
Address {
command: Address,
},
Auth {
name: String,
},
Directory,
Dns {
command: Dns,
},
Email {
command: Email,
},
Now {
command: Now,
},
Pastebin {
command: Pastebin,
},
Preferences {
owner: String,
item: String,
value: String,
},
Purl {
command: Purl,
},
Service,
Status {
command: Status,
},
Switch {
address: Option<String>,
},
Theme {
command: Theme,
},
Web {
command: Web,
},
Weblog {
command: Weblog,
},
}
Variants§
Account
Get information and make changes to your account
Address
Get information and make changes to your addresses
Auth
Save omg.lol API key to config.toml, will prompt (vs env. var: OMGLOL_API_KEY)
Directory
Get the address directory, consisting of addresses that have opted-in to be listed
Dns
Adjust the switchboard / DNS records for your omg.lol address
Manage the email configuration for an omg.lol address
Now
Manage your /now page
Pastebin
Manage the pastebin for an omg.lol address
Preferences
Manage preferences for omg.lol accounts, addresses and objects
Fields
Purl
Manage PURLs (Persistent URLs) for your omg.lol address
Service
Get service information about omg.lol
Status
Manage the statuslog for an omg.lol address
Switch
Set a default omg.lol address (and API key) from saved addresses
Theme
Manage omg.lol profile themes
Web
Manage profile page and web stuff for an omg.lol address
Weblog
Manage the weblog for an omg.lol address
Implementations§
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