Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::Args::Flag Struct Reference

#include <args.hh>

Public Types

typedef std::shared_ptr< Flagptr

Static Public Member Functions

static Flag mkHashTypeFlag (std::string &&longName, HashType *ht)
static Flag mkHashTypeOptFlag (std::string &&longName, std::optional< HashType > *oht)

Public Attributes

std::string longName
std::set< std::string > aliases
char shortName = 0
std::string description
std::string category
Strings labels
Handler handler
CompleterClosure completer
std::optional< ExperimentalFeatureexperimentalFeature

Detailed Description

Description of flags / options

These are arguments like -s or --long that can (mostly) appear in any order.


The documentation for this struct was generated from the following files:
  • lix/libutil/args.hh
  • lix/libutil/args.cc