Kagome
Polkadot Runtime Engine in C++17
PrintHelpCommand Class Referencefinal
Inheritance diagram for PrintHelpCommand:
Collaboration diagram for PrintHelpCommand:

Public Member Functions

 PrintHelpCommand (CommandParser const &parser)
 
virtual void execute (std::ostream &out, const ArgumentList &args) override
 
- Public Member Functions inherited from Command
 Command (std::string name, std::string description)
 
virtual ~Command ()=default
 
std::string_view getName () const
 
std::string_view getDescription () const
 

Private Attributes

CommandParser const & parser
 

Additional Inherited Members

- Protected Member Functions inherited from Command
void assertArgumentCount (const ArgumentList &args, int min, int max)
 
template<typename... Ts>
void throwError (const char *fmt, Ts &&...ts) const
 
template<typename T >
unwrapResult (std::string_view context, outcome::result< T > &&res) const
 

Detailed Description

Definition at line 159 of file storage_explorer.cpp.

Constructor & Destructor Documentation

PrintHelpCommand::PrintHelpCommand ( CommandParser const &  parser)
inlineexplicit

Definition at line 161 of file storage_explorer.cpp.

Member Function Documentation

virtual void PrintHelpCommand::execute ( std::ostream &  out,
const ArgumentList args 
)
inlineoverridevirtual

Implements Command.

Definition at line 164 of file storage_explorer.cpp.

Member Data Documentation

CommandParser const& PrintHelpCommand::parser
private

Definition at line 170 of file storage_explorer.cpp.


The documentation for this class was generated from the following file: