24#include <argparse/argparse.hpp>
27#define UTF8STDSTR( s ) ( std::string( s.utf8_str() ) )
29#define ARG_VERSION "--version"
30#define ARG_HELP "--help"
31#define ARG_HELP_SHORT "-h"
32#define ARG_HELP_DESC _( "shows help message and exits" )
45 COMMAND(
const std::string& aName );
virtual ~COMMAND()=default
virtual int doPerform(KIWAY &aKiway)
The internal handler that should be overloaded to implement command specific processing and work.
argparse::ArgumentParser & GetArgParser()
argparse::ArgumentParser m_argParser
COMMAND(const std::string &aName)
Define a new COMMAND instance.
const std::string & GetName() const
int Perform(KIWAY &aKiway)
Entry point to processing commands from args and doing work.
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...