Struct clioptions::CliOptions
[−]
[src]
pub struct CliOptions { /* fields omitted */ }
Methods
impl CliOptions
[src]
fn new(program: &str) -> CliOptions
Create new instance of CliOptions.
fn get_args(&self) -> Vec<String>
Get any command line arguments.
fn get_num(&self) -> usize
Get number fo command line arguments.
fn next_argument(&self, i: usize) -> String
Get next argument.
fn get_program(&self) -> String
Get program name from first argument.