Expand description
§argfile
Load additional CLI args from file
Prior art:
This is meant to work with any CLI parser, like clap, by pre-processing the arguments, like wild.
§Examples
argfile::expand_args(
argfile::parse_fromfile,
argfile::PREFIX,
).unwrap();
To integrate this with wild and clap
let args = wild::args_os();
let args = argfile::expand_args_from(
args,
argfile::parse_fromfile,
argfile::PREFIX,
).unwrap();
let matches = clap::Command::new("your_app")
.get_matches_from(args);
Enums§
- Argument
- An individual argument
Constants§
- PREFIX
- Conventional prefix to mark argfiles
Functions§
- expand_
args - Load prefixed-args from specified files
- expand_
args_ from - Load prefixed-args from specified files
- parse_
fromfile - Parse a Python fromfile
- parse_
response response
- Parse a Microsoft response file