#include <command.hh>
|
typedef std::map< std::vector< std::string >, std::function< ref< Command >()> > | Commands |
|
|
| RegisterCommand (std::vector< std::string > &&name, std::function< ref< Command >()> command) |
|
|
static nix::Commands | getCommandsFor (const std::vector< std::string > &prefix) |
|
|
static Commands * | commands = nullptr |
|
A helper class for registering Command commands globally.
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