27 #include <cloe/stack_config.hpp>
28 #include <cloe/stack_factory.hpp>
35 cloe::StackOptions stack_options;
38 std::ostream* output = &std::cout;
39 std::ostream* error = &std::cerr;
40 std::string delimiter =
",";
43 bool summarize =
false;
44 bool output_json =
false;
48 int check(
const CheckOptions& opt,
const std::vector<std::string>& filepaths);
51 cloe::StackOptions stack_options;
54 std::ostream* output = &std::cout;
55 std::ostream* error = &std::cerr;
61 int dump(
const DumpOptions& opt,
const std::vector<std::string>& filepaths);
64 cloe::StackOptions stack_options;
67 std::ostream* output = &std::cout;
68 std::ostream* error = &std::cerr;
76 bool debug_lua =
false;
77 int debug_lua_port = CLOE_LUA_DEBUGGER_PORT;
80 int probe(
const ProbeOptions& opt,
const std::vector<std::string>& filepaths);
83 cloe::StackOptions stack_options;
86 std::ostream* output = &std::cout;
87 std::ostream* error = &std::cerr;
91 std::string output_path;
95 bool allow_empty =
false;
96 bool write_output =
true;
97 bool require_success =
false;
98 bool report_progress =
true;
100 bool debug_lua =
false;
101 int debug_lua_port = CLOE_LUA_DEBUGGER_PORT;
104 int run(
const RunOptions& opt,
const std::vector<std::string>& filepaths);
107 cloe::StackOptions stack_options;
110 std::ostream* output = &std::cout;
111 std::ostream* error = &std::cerr;
114 std::vector<std::string> commands;
117 std::optional<bool> interactive;
121 int shell(
const ShellOptions& opt,
const std::vector<std::string>& filepaths);
124 cloe::StackOptions stack_options;
127 std::ostream* output = &std::cout;
128 std::ostream* error = &std::cerr;
131 bool plugin_usage =
false;
132 bool output_json =
false;
136 int usage(
const UsageOptions& opt,
const std::string& argument);
139 std::ostream* output = &std::cout;
140 std::ostream* error = &std::cerr;
143 bool output_json =
false;
153 extern Simulation* GLOBAL_SIMULATION_INSTANCE;
Definition: simulation.hpp:39
void handle_signal(int sig)
Definition: main_commands.cpp:51
Definition: lua_setup.hpp:42
Definition: main_commands.hpp:34
Definition: main_commands.hpp:50
Definition: main_commands.hpp:63
Definition: main_commands.hpp:82
Definition: main_commands.hpp:106
Definition: main_commands.hpp:123
Definition: main_commands.hpp:138