30#include <wx/tokenzr.h> 
   33#define ARG_NO_BACKGROUND_COLOR "--no-background-color" 
   34#define ARG_SYMBOL "--symbol" 
   35#define ARG_INC_HIDDEN_PINS "--include-hidden-pins" 
   36#define ARG_INC_HIDDEN_FIELDS "--include-hidden-fields" 
   47            .default_value( std::string() )
 
   48            .help( 
UTF8STDSTR( 
_( 
"Color theme to use (will default to symbol editor " 
   50            .metavar( 
"THEME_NAME" );
 
   53            .default_value( std::string() )
 
   54            .help( 
UTF8STDSTR( 
_( 
"Specific symbol to export within the library" ) ) )
 
 
   73    std::unique_ptr<JOB_SYM_EXPORT_SVG> svgJob = std::make_unique<JOB_SYM_EXPORT_SVG>();
 
   82    if( !wxFile::Exists( svgJob->m_libraryPath ) )
 
   84        wxFprintf( stderr, 
_( 
"Symbol file does not exist or is not accessible\n" ) );
 
 
void addCommonArgs(bool aInput, bool aOutput, bool aInputCanBeDir, bool aOutputIsDir)
Set up the most common of args used across cli.
 
argparse::ArgumentParser m_argParser
 
COMMAND(const std::string &aName)
Define a new COMMAND instance.
 
wxString m_argOutput
Value of the output arg if configured.
 
wxString m_argInput
Value of the common input arg if configured.
 
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
 
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
 
int ProcessJob(KIWAY::FACE_T aFace, JOB *aJob, REPORTER *aReporter=nullptr, PROGRESS_REPORTER *aProgressReporter=nullptr)
 
#define ARG_BLACKANDWHITE_DESC
 
#define ARG_BLACKANDWHITE
 
#define ARG_INC_HIDDEN_PINS
 
#define ARG_INC_HIDDEN_FIELDS
 
This file contains miscellaneous commonly used macros and functions.
 
static const int ERR_INVALID_INPUT_FILE
 
wxString From_UTF8(const char *cstring)