|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
Public Member Functions | |
| AsyncIoRoot & | aio () override |
| NixArgs (const std::string &programName, AsyncIoRoot &aio) | |
| Strings::iterator | rewriteArgs (Strings &args, Strings::iterator pos) override |
| std::string | description () override |
| std::string | doc () override |
| void | run () override |
| void | pluginsInited () override |
| std::string | dumpCli () |
| Public Member Functions inherited from nix::MultiCommand | |
| MultiCommand (const CommandMap &commands, bool allowExternal=false) | |
| bool | processFlag (Strings::iterator &pos, Strings::iterator end) override |
| bool | processArgs (const Strings &args, bool finish) override |
| JSON | toJSON () override |
| Public Member Functions inherited from nix::Command | |
| virtual std::optional< ExperimentalFeature > | experimentalFeature () |
| virtual Category | category () |
| Public Member Functions inherited from nix::Args | |
| virtual bool | forceImpureByDefault () |
| 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 | expectArgs (const std::string &label, std::vector< std::string > *dest) |
| RootArgs & | getRoot () |
| Public Member Functions inherited from nix::MixCommonArgs | |
| MixCommonArgs (const std::string &programName) | |
Public Attributes | |
| bool | useNet = true |
| bool | refresh = false |
| bool | helpRequested = false |
| bool | showVersion = false |
| AsyncIoRoot & | aio_ |
| std::map< std::string, std::vector< std::string > > | aliases |
| bool | aliasUsed = false |
| Public Attributes inherited from nix::MultiCommand | |
| CommandMap | commands |
| Strings | customCommandSearchPaths |
| bool | isExternalSubcommand |
| std::map< Command::Category, std::string > | categories |
| std::optional< std::pair< std::string, ref< Command > > > | command |
| Public Attributes inherited from nix::Args | |
| MultiCommand * | parent = nullptr |
| Public Attributes inherited from nix::MixCommonArgs | |
| std::string | programName |
Additional Inherited Members | |
| Public Types inherited from nix::Command | |
| typedef int | Category |
| Static Public Attributes inherited from nix::Command | |
| static constexpr Category | catDefault = 0 |
| static constexpr Category | catCustom = 1000 |
| Static Public Attributes inherited from nix::Args | |
| static CompleterFun | completePath |
| static CompleterFun | completeDir |
| Protected Types inherited from nix::Args | |
| typedef void | CompleterFun(AddCompletions &, size_t, std::string_view) |
| typedef std::function< CompleterFun > | CompleterClosure |
| Protected Member Functions inherited from nix::Args | |
| virtual std::optional< std::reference_wrapper< RootArgs > > | asRootArgs () |
| Protected Attributes inherited from nix::Args | |
| 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 Protected Attributes inherited from nix::Args | |
| static const size_t | ArityAny = std::numeric_limits<size_t>::max() |
|
inlineoverridevirtual |
Implements nix::Args.
|
inlineoverridevirtual |
Return a short one-line description of the command.
Reimplemented from nix::Args.
|
inlineoverridevirtual |
Return documentation about this command, in Markdown format.
Reimplemented from nix::Args.
|
inlineoverridevirtual |
Reimplemented from nix::MixCommonArgs.
|
inlineoverridevirtual |
Reimplemented from nix::Args.
|
inlineoverridevirtual |
Entry point to the command
Implements nix::Command.
| std::map<std::string, std::vector<std::string> > nix::NixArgs::aliases |