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

Commit ca37728

Browse files
committed
remove v2 commands
1 parent ccf9875 commit ca37728

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

engine/cli/command_line_parser.cc

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -427,25 +427,6 @@ void CommandLineParser::SetupSystemCommands() {
427427
});
428428
}
429429

430-
void CommandLineParser::EngineInstallV2(CLI::App* parent,
431-
const std::string& engine_name) {
432-
auto install_engine_cmd = parent->add_subcommand(engine_name, "");
433-
install_engine_cmd->usage("Usage:\n" + commands::GetCortexBinary() +
434-
" engines install " + engine_name + " [options]");
435-
install_engine_cmd->group(kEngineGroup);
436-
install_engine_cmd->callback([this, engine_name] {
437-
if (std::exchange(executed_, true))
438-
return;
439-
auto result = commands::EngineReleaseCmd().Exec(
440-
cml_data_.config.apiServerHost,
441-
std::stoi(cml_data_.config.apiServerPort), engine_name);
442-
443-
if (result.has_error()) {
444-
CLI_LOG(result.error());
445-
}
446-
});
447-
}
448-
449430
void CommandLineParser::EngineInstall(CLI::App* parent,
450431
const std::string& engine_name,
451432
std::string& version, std::string& src) {

0 commit comments

Comments
 (0)