|
| Public Types inherited from nix::Command |
|
typedef int | Category |
|
std::string | templateUrl = "templates" |
|
Path | destDir |
|
const LockFlags | lockFlags { .writeLockFile = false } |
| MultiCommand * | parent = nullptr |
| Public Attributes inherited from nix::EvalCommand |
|
bool | startReplOnEvalErrors = false |
|
bool | ignoreExceptionsDuringTry = false |
|
SearchPath | searchPath |
|
std::optional< std::string > | evalStoreUrl |
|
RepairFlag | repair = NoRepair |
|
static CompleterFun | completePath |
|
static CompleterFun | completeDir |
| Static Public Attributes inherited from nix::Command |
|
static constexpr Category | catDefault = 0 |
|
static constexpr Category | catCustom = 1000 |
|
static constexpr auto | category = "Common evaluation options" |
| typedef void | CompleterFun(AddCompletions &, size_t, std::string_view) |
| typedef std::function< CompleterFun > | CompleterClosure |
| virtual bool | processFlag (Strings::iterator &pos, Strings::iterator end) |
| virtual bool | processArgs (const Strings &args, bool finish) |
|
virtual Strings::iterator | rewriteArgs (Strings &args, Strings::iterator pos) |
| virtual void | initialFlagsProcessed () |
| virtual std::optional< std::reference_wrapper< RootArgs > > | asRootArgs () |
| std::map< std::string, Flag::ptr > | longFlags |
| std::map< char, Flag::ptr > | shortFlags |
| std::list< ExpectedArg > | expectedArgs |
| std::list< ExpectedArg > | processedArgs |
|
std::set< std::string > | hiddenCategories |
| static const size_t | ArityAny = std::numeric_limits<size_t>::max() |
◆ description()
| std::string nix::CmdFlakeInit::description |
( |
| ) |
|
|
inlineoverridevirtual |
Return a short one-line description of the command.
Reimplemented from nix::Args.
◆ doc()
| std::string nix::CmdFlakeInit::doc |
( |
| ) |
|
|
inlineoverridevirtual |
Return documentation about this command, in Markdown format.
Reimplemented from nix::Args.
The documentation for this struct was generated from the following file: