Struct rustypaste_cli::args::Args [−][src]
pub struct Args {
pub config: Option<PathBuf>,
pub server: Option<String>,
pub auth: Option<String>,
pub url: Option<String>,
pub files: Vec<String>,
pub oneshot: bool,
pub expire: Option<String>,
pub prettify: bool,
}Expand description
Command-line arguments to parse.
Fields
config: Option<PathBuf>Configuration file.
server: Option<String>Server address.
auth: Option<String>Authentication token.
url: Option<String>URL to shorten.
files: Vec<String>Files to upload.
oneshot: boolWhether if the file will disappear after being viewed once.
expire: Option<String>Expiration time for the link.
prettify: boolPrettify the program output.