37 "schematic editor with Python scripts" ) ) );
43 std::unique_ptr<JOB_EXPORT_SCH_PYTHONBOM> bomJob =
44 std::make_unique<JOB_EXPORT_SCH_PYTHONBOM>();
46 bomJob->m_filename = m_argInput;
47 bomJob->SetOutputPath( m_argOutput );
49 if( !wxFile::Exists( bomJob->m_filename ) )
51 wxFprintf( stderr,
_(
"Schematic file does not exist or is not accessible\n" ) );
argparse::ArgumentParser m_argParser
void addCommonArgs(bool aInput, bool aOutput, bool aInputIsDir, bool aOutputIsDir)
Set up the most common of args used across cli.
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
SCH_EXPORT_PYTHONBOM_COMMAND()
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
int ProcessJob(KIWAY::FACE_T aFace, JOB *aJob)
This file contains miscellaneous commonly used macros and functions.
static const int ERR_INVALID_INPUT_FILE