This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff 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]" );
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments