|
Arkanjo 0.2
A tool for find code duplicated functions in codebases
|
#include <command_base.hpp>
Inheritance diagram for CommandBase< Derived >:
Collaboration diagram for CommandBase< Derived >:Public Member Functions | |
| 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 |
| virtual bool | validate (const ParsedOptions &options)=0 |
| Validate the arguments already analyzed. | |
| virtual bool | run (const ParsedOptions &options)=0 |
| Executes the main logic of the command. | |
Definition at line 22 of file command_base.hpp.
|
overridevirtual |
Implements ICommand.
Definition at line 105 of file command_base.hpp.
|
finalvirtual |
Implements ICommand.
Definition at line 97 of file command_base.hpp.
|
virtual |
Definition at line 25 of file command_base.hpp.