File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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-
449430void CommandLineParser::EngineInstall (CLI::App* parent,
450431 const std::string& engine_name,
451432 std::string& version, std::string& src) {
You can’t perform that action at this time.
0 commit comments