|
std::string | description () override |
|
std::string | doc () override |
|
Public Member Functions inherited from nix::NixMultiCommand |
nlohmann::json | toJSON () override |
|
virtual void | run () override |
|
| MultiCommand (std::string_view commandName, const Commands &commands) |
|
Public Member Functions inherited from nix::MultiCommand |
| MultiCommand (std::string_view commandName, const Commands &commands) |
|
bool | processFlag (Strings::iterator &pos, Strings::iterator end) override |
|
bool | processArgs (const Strings &args, bool finish) override |
|
virtual bool | forceImpureByDefault () |
|
virtual Path | getCommandBaseDir () const |
| Get the base directory for the command.
|
|
void | addFlag (Flag &&flag) |
|
void | removeFlag (const std::string &longName) |
|
void | expectArgs (ExpectedArg &&arg) |
|
void | expectArg (const std::string &label, std::string *dest, bool optional=false) |
|
void | expectArg (const std::string &label, std::filesystem::path *dest, bool optional=false) |
|
void | expectArgs (const std::string &label, std::vector< std::string > *dest) |
|
RootArgs & | getRoot () |
|
Public Member Functions inherited from nix::Command |
virtual std::optional< ExperimentalFeature > | experimentalFeature () |
|
virtual Category | category () |
|
◆ description()
std::string CmdProfile::description |
( |
| ) |
|
|
inlineoverridevirtual |
Return a short one-line description of the command.
Reimplemented from nix::Args.
◆ doc()
std::string CmdProfile::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:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/nix/profile.cc