|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <args.hh>
Public Attributes | |
| std::function< void(std::vector< std::string >)> | fun |
| size_t | arity |
Arguments (flags/options and positional) have a "handler" which is caused when the argument is parsed. The handler has an arbitrary side effect, including possible affect further command-line parsing.
There are many constructors in order to support many shorthand initializations, and this is used a lot.