Struct lapp::Args [] [src]

pub struct Args<'a> { /* fields omitted */ }

Methods

impl<'a> Args<'a>
[src]

provide a usage string from which we extract flag definitions

bail out of program with non-zero return code. May force this to panic instead with the EASY_DONT_QUIT_PANIC environment variable.

create suggested variable or struct declarations for accessing the flags...

get flag as a string, quitting otherwise.

get flag as an integer, quitting otherwise.

get flag as a float, quitting otherwise.

get flag as a bool, quitting otherwise.

get flag as a file for reading, quitting otherwise.

get flag as a file for writing, quitting otherwise.

get multiple flag as an array of strings, quitting otherwise.

get multiple flag as an array of integers, quitting otherwise.

get multiple flag as an array of floats, quitting otherwise.