![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <command.hh>
Public Types | |
| typedef std::map< std::vector< std::string >, fun< ref< Command >()> > | Commands |
Public Member Functions | |
| RegisterCommand (std::vector< std::string > &&name, fun< ref< Command >()> command) | |
Static Public Member Functions | |
| static Commands & | commands () |
| static nix::Commands | getCommandsFor (const std::vector< std::string > &prefix) |
A helper class for registering Command commands globally.