|
Arkanjo 0.2
A tool for find code duplicated functions in codebases
|
#include <help.hpp>
Inheritance diagram for Help:
Collaboration diagram for Help:Public Member Functions | |
| Help (const std::vector< std::pair< std::vector< std::string >, CommandsRegistry::CommandFactory > > &commands) | |
| Help (const std::vector< std::pair< std::vector< std::string >, CommandsRegistry::CommandFactory > > &commands, const std::string command_name) | |
| bool | validate (const ParsedOptions &options) override |
| Validate the arguments already analyzed. | |
| bool | run (const ParsedOptions &options) override |
| Displays help information about available commands. | |
Public Member Functions inherited from CommandBase< Help > | |
| virtual void | print_help (const std::string command_name, const OptionsCollector *collector) const |
| const CliOption * | options () const final |
| bool | do_run (const std::string command_name, const ParsedOptions &options, const OptionsCollector *collector=nullptr) override |
Public Member Functions inherited from ICommand | |
| virtual | ~ICommand ()=default |
| virtual std::string_view | description () const =0 |
|
explicit |
|
explicit |
|
overridevirtual |
|
overridevirtual |
Validate the arguments already analyzed.
Verify that all required options have been selected and that the values provided are valid.
| options | The ParsedOptions structure will be populated with the arguments. |
Implements ICommand.