Struct dia_args::Args[][src]

pub struct Args {
    pub cmds: Option<Vec<String>>,
    pub args: HashMap<String, Vec<String>>,
    pub sub_args: Option<Vec<String>>,
    pub should_use_stdin: bool,
}

Arguments

Usage

  • args field is visible, but rarely useful. Instead, you can use get(), get_list()...
  • cmds field can contain commands and normal arguments (such as file paths...)
  • sub_args are not verified. They are the ones after -- symbol, which are meant for being passed to sub processes.

Fields

Methods

impl Args
[src]

Auto Trait Implementations

impl Send for Args

impl Sync for Args