pub enum Commands {
Show 15 variants
Account {
email: String,
command: Account,
},
Address {
address: Option<String>,
command: Address,
},
Auth {
api_key: String,
},
Directory,
Dns {
address: Option<String>,
command: Dns,
},
Email {
address: Option<String>,
command: Email,
},
Now {
address: Option<String>,
command: Now,
},
Pastebin {
address: Option<String>,
command: Pastebin,
},
Preferences {
owner: String,
item: String,
value: String,
},
Purl {
address: Option<String>,
command: Purl,
},
Service,
Status {
address: Option<String>,
command: Status,
},
Theme {
address: Option<String>,
command: Theme,
},
Web {
address: Option<String>,
command: Web,
},
Weblog {
address: Option<String>,
command: Weblog,
},
}Variants§
Account
Fields
Get information and make changes to your account
Address
Get information and make changes to your addresses
Auth
Save your omg.lol API key to the config.json (Rather than using the OMGLOL_API_KEY environment variable)
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
Fields
Manage preferences for omg.lol accounts, addresses and objects
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
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
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
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand