Start of new Nix command-line interface
This commit is contained in:
parent
0db9e6cd1a
commit
cd2196b089
14 changed files with 362 additions and 74 deletions
|
@ -4,6 +4,7 @@
|
|||
namespace nix {
|
||||
|
||||
MixCommonArgs::MixCommonArgs(const string & programName)
|
||||
: programName(programName)
|
||||
{
|
||||
mkFlag('v', "verbose", "increase verbosity level", []() {
|
||||
verbosity = (Verbosity) (verbosity + 1);
|
||||
|
|
|
@ -6,6 +6,7 @@ namespace nix {
|
|||
|
||||
struct MixCommonArgs : virtual Args
|
||||
{
|
||||
string programName;
|
||||
MixCommonArgs(const string & programName);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue