Expand description
Parse a configuration file in arbitrary format into a iterator of command-line arguments.
The main use case for this crate is to add configuration file support for CLI tools and argument parsers, which do not have support for configuration files (for example, clap)
Structs
Traits
Configuration file format
Functions
Parses all configuration files paths returned by Filter
from std::env::args
using Format
into an IntoIterator
of arguments.
Parses all configuration files paths returned by Filter
from an ExactSizeIterator
using Format
into an IntoIterator
of arguments.
Argument filter, which filters arguments by a character prefix.
Type Definitions
Argument filter, which, given a command-line argument, either returns Some(path)
, if the
argument is a path to configuration file or returns None
otherwise.