KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CLI::EXIT_CODES Namespace Reference

Variables

static const int AVOID_CLOSING = -1
 
static const int SUCCESS = 0
 
static const int OK = 0
 
static const int ERR_ARGS = 1
 
static const int ERR_UNKNOWN = 2
 
static const int ERR_INVALID_INPUT_FILE = 3
 
static const int ERR_INVALID_OUTPUT_CONFLICT = 4
 
static const int ERR_RC_VIOLATIONS = 5
 Rules check violation count was greater than 0.
 
static const int ERR_JOBS_RUN_FAILED = 6
 

Variable Documentation

◆ AVOID_CLOSING

const int CLI::EXIT_CODES::AVOID_CLOSING = -1
static

Definition at line 28 of file exit_codes.h.

◆ ERR_ARGS

◆ ERR_INVALID_INPUT_FILE

const int CLI::EXIT_CODES::ERR_INVALID_INPUT_FILE = 3
static

◆ ERR_INVALID_OUTPUT_CONFLICT

◆ ERR_JOBS_RUN_FAILED

const int CLI::EXIT_CODES::ERR_JOBS_RUN_FAILED = 6
static

Definition at line 38 of file exit_codes.h.

Referenced by CLI::JOBSET_RUN_COMMAND::doPerform().

◆ ERR_RC_VIOLATIONS

const int CLI::EXIT_CODES::ERR_RC_VIOLATIONS = 5
static

Rules check violation count was greater than 0.

Definition at line 37 of file exit_codes.h.

Referenced by PCBNEW_JOBS_HANDLER::JobExportDrc(), EESCHEMA_JOBS_HANDLER::JobSchErc(), and JOBS_RUNNER::RunJobsForOutput().

◆ ERR_UNKNOWN

◆ OK

const int CLI::EXIT_CODES::OK = 0
static

Definition at line 30 of file exit_codes.h.

Referenced by PCBNEW_JOBS_HANDLER::doFpExportSvg(), CLI::COMMAND::doPerform(), CLI::FP_EXPORT_SVG_COMMAND::doPerform(), CLI::PCB_EXPORT_BASE_COMMAND::doPerform(), CLI::PCB_EXPORT_DXF_COMMAND::doPerform(), CLI::PCB_EXPORT_GENCAD_COMMAND::doPerform(), CLI::PCB_EXPORT_GERBER_COMMAND::doPerform(), CLI::PCB_EXPORT_GERBERS_COMMAND::doPerform(), CLI::PCB_EXPORT_IPC2581_COMMAND::doPerform(), CLI::PCB_EXPORT_ODB_COMMAND::doPerform(), CLI::PCB_EXPORT_PDF_COMMAND::doPerform(), CLI::PCB_EXPORT_POS_COMMAND::doPerform(), CLI::PCB_EXPORT_SVG_COMMAND::doPerform(), CLI::VERSION_COMMAND::doPerform(), EESCHEMA_JOBS_HANDLER::doSymExportSvg(), EESCHEMA_JOBS_HANDLER::JobExportBom(), PCBNEW_JOBS_HANDLER::JobExportDrill(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportFpSvg(), PCBNEW_JOBS_HANDLER::JobExportFpUpgrade(), PCBNEW_JOBS_HANDLER::JobExportGencad(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), EESCHEMA_JOBS_HANDLER::JobExportNetlist(), PCBNEW_JOBS_HANDLER::JobExportPdf(), EESCHEMA_JOBS_HANDLER::JobExportPlot(), PCBNEW_JOBS_HANDLER::JobExportPos(), EESCHEMA_JOBS_HANDLER::JobExportPythonBom(), PCBNEW_JOBS_HANDLER::JobExportRender(), PCBNEW_JOBS_HANDLER::JobExportStep(), PCBNEW_JOBS_HANDLER::JobExportSvg(), EESCHEMA_JOBS_HANDLER::JobSymExportSvg(), EESCHEMA_JOBS_HANDLER::JobSymUpgrade(), CLI::PCB_EXPORT_GERBER_COMMAND::populateJob(), JOBS_RUNNER::runSpecialCopyFiles(), and JOBS_RUNNER::runSpecialExecute().

◆ SUCCESS