Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 02836af

Browse files
committed
temporary remove cli
1 parent 77b8121 commit 02836af

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

engine/cli/command_line_parser.cc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -326,21 +326,6 @@ void CommandLineParser::SetupEngineCommands() {
326326
std::stoi(cml_data_.config.apiServerPort));
327327
});
328328

329-
auto installv2_cmd = engines_cmd->add_subcommand("release", "Install engine");
330-
installv2_cmd->group(kSubcommands);
331-
installv2_cmd->callback([this, installv2_cmd] {
332-
if (std::exchange(executed_, true))
333-
return;
334-
if (installv2_cmd->get_subcommands().empty()) {
335-
CLI_LOG("[engine_name] is required\n");
336-
CLI_LOG(installv2_cmd->help());
337-
}
338-
});
339-
for (auto& engine : engine_service_.kSupportEngines) {
340-
std::string engine_name{engine};
341-
EngineInstallV2(installv2_cmd, engine_name);
342-
}
343-
344329
auto install_cmd = engines_cmd->add_subcommand("install", "Install engine");
345330
install_cmd->usage("Usage:\n" + commands::GetCortexBinary() +
346331
" engines install [engine_name] [options]");

engine/cli/command_line_parser.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ class CommandLineParser {
2222

2323
void SetupSystemCommands();
2424

25-
void EngineInstallV2(CLI::App* parent, const std::string& engine_name);
26-
2725
void EngineInstall(CLI::App* parent, const std::string& engine_name,
2826
std::string& version, std::string& src);
2927

0 commit comments

Comments
 (0)