KiCad PCB EDA Suite
Loading...
Searching...
No Matches
command_project_downgrade.cpp File Reference
#include "command_project_downgrade.h"
#include "cli/exit_codes.h"
#include "../project_downgrade.h"
#include <json_common.h>
#include <filesystem>
#include <kiplatform/io.h>
#include <downgrade_scan.h>
#include <wx/crt.h>
#include <wx/file.h>
#include <wx/ffile.h>
#include <wx/filename.h>
#include <downgrade_target.h>

Go to the source code of this file.

Macros

#define ARG_TARGET   "--target"
 
#define ARG_FORCE   "--force"
 
#define ARG_DRY_RUN   "--dry-run"
 
#define ARG_REPORT_JSON   "--report-json"
 
#define ARG_VARIANT   "--variant"
 
#define ARG_DROP_APPROXIMATIONS   "--drop-approximations"
 

Functions

static const char * bucketName (DOWNGRADE_BUCKET aBucket)
 

Macro Definition Documentation

◆ ARG_DROP_APPROXIMATIONS

#define ARG_DROP_APPROXIMATIONS   "--drop-approximations"

Definition at line 41 of file command_project_downgrade.cpp.

◆ ARG_DRY_RUN

#define ARG_DRY_RUN   "--dry-run"

Definition at line 38 of file command_project_downgrade.cpp.

◆ ARG_FORCE

#define ARG_FORCE   "--force"

Definition at line 37 of file command_project_downgrade.cpp.

◆ ARG_REPORT_JSON

#define ARG_REPORT_JSON   "--report-json"

◆ ARG_TARGET

#define ARG_TARGET   "--target"

Definition at line 36 of file command_project_downgrade.cpp.

◆ ARG_VARIANT

#define ARG_VARIANT   "--variant"

Definition at line 40 of file command_project_downgrade.cpp.

Function Documentation

◆ bucketName()

static const char * bucketName ( DOWNGRADE_BUCKET aBucket)
static

Definition at line 78 of file command_project_downgrade.cpp.

References BLOCK, DROP, KEEP, and LOWER.

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