|
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 std::string | description () |
|
virtual bool | forceImpureByDefault () |
|
virtual std::string | doc () |
|
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 () |
|
◆ run()
void nix::NixMultiCommand::run |
( |
| ) |
|
|
overridevirtual |
◆ toJSON()
nlohmann::json nix::NixMultiCommand::toJSON |
( |
| ) |
|
|
overridevirtual |
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libcmd/command.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libcmd/command.cc