suanPan
argument.cpp File Reference
#include "argument.h"
#include <array>
#include <Include/whereami/whereami.h>
#include <Step/Bead.h>
#include <Toolbox/Converter.h>
#include <Toolbox/command.h>
#include <Toolbox/revision.h>
#include <Toolbox/utility.h>
#include <UnitTest/CatchTest.h>
Include dependency graph for argument.cpp:

Functions

bool check_debugger ()
 
bool support_emoji ()
 
void check_version (const fs::path &path_to_executable)
 
void strip_mode (const string &input_file_name, const string &output_file_name)
 
void convert_mode (const string &input_file_name, const string &output_file_name)
 
void print_header ()
 
fs::path whereami (const char *argv)
 
void argument_parser (const int argc, char **argv)
 
void print_version ()
 
void print_helper ()
 
void cli_mode (const shared_ptr< Bead > &model)
 

Variables

constexpr auto SUANPAN_MAJOR = 3
 
constexpr auto SUANPAN_MINOR = 6
 
constexpr auto SUANPAN_PATCH = 0
 
constexpr auto SUANPAN_CODE = "Canopus"
 
bool SUANPAN_PRINT = true
 
bool SUANPAN_COLOR = true
 
bool SUANPAN_VERBOSE = false
 
fs::path SUANPAN_EXE = ""
 

Function Documentation

◆ check_debugger()

bool check_debugger ( )
Here is the caller graph for this function:

◆ check_version()

void check_version ( const fs::path &  path_to_executable)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ convert_mode()

void convert_mode ( const string &  input_file_name,
const string &  output_file_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_header()

void print_header ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ strip_mode()

void strip_mode ( const string &  input_file_name,
const string &  output_file_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ support_emoji()

bool support_emoji ( )
Here is the caller graph for this function:

◆ whereami()

fs::path whereami ( const char *  argv)
Here is the caller graph for this function:

Variable Documentation

◆ SUANPAN_CODE

constexpr auto SUANPAN_CODE = "Canopus"
constexpr

◆ SUANPAN_COLOR

bool SUANPAN_COLOR = true

◆ SUANPAN_EXE

fs::path SUANPAN_EXE = ""

◆ SUANPAN_MAJOR

constexpr auto SUANPAN_MAJOR = 3
constexpr

◆ SUANPAN_MINOR

constexpr auto SUANPAN_MINOR = 6
constexpr

◆ SUANPAN_PATCH

constexpr auto SUANPAN_PATCH = 0
constexpr

◆ SUANPAN_PRINT

bool SUANPAN_PRINT = true

◆ SUANPAN_VERBOSE

bool SUANPAN_VERBOSE = false