* Instantiate the Commands container * * @param progname A short string defining this program * @param description A short description of this programs function/role */
| 950 | * @param description A short description of this programs function/role |
| 951 | */ |
| 952 | Commands(const std::string &progname, const std::string &description) |
| 953 | : progname(progname), description(description) |
| 954 | { |
| 955 | // Register a new ShellCompletion helper object. This |
| 956 | // will automatically build up the 'shell-completion' command, |
| 957 | // based on the commands and options being added. |
| 958 | shellcompl = std::make_shared<ShellCompletion>(); |
| 959 | commands.push_back(shellcompl); |
| 960 | } |
| 961 | |
| 962 | |
| 963 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected