Crate getopts_macro

Source
Expand description

Using macros to concisely define the getopts

use getopts_macro::getopts_options;

let _options = getopts_options! {
    -z --zero           "...";
    -v --verbose*       "...";
    -T --threads=NUM    "...";
    -i --ignore*=FILE   "...";
    -h --help*          "...";
    -V --version*       "...";
};

Re-exports§

pub use getopts;

Macros§

getopts_options
Quick create getopts::Options