Skip to content

Commit

Permalink
Removing "restore" command from sergen
Browse files Browse the repository at this point in the history
  • Loading branch information
volkanceylan committed Sep 1, 2024
1 parent 742e732 commit fbbf1ba
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 420 deletions.
11 changes: 0 additions & 11 deletions src/Serenity.Net.CodeGenerator/Cli.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,6 @@ bool isCommand(params string[] args)
return args.Any(x => string.Equals(x, command, StringComparison.OrdinalIgnoreCase));
}

if (isCommand(CommandKeys.Restore, CommandAliases.Restore))
{
ArgumentNullException.ThrowIfNull(BuildSystemFactory);

return RunCommand(new RestoreCommand(project, Console)
{
BuildSystem = BuildSystemFactory(),
ProjectReferences = projectRefs
});
}

if (isCommand(CommandKeys.Generate, CommandAliases.Generate))
{
return RunCommand(new GenerateCommand(project, Console)
Expand Down
Loading

0 comments on commit fbbf1ba

Please sign in to comment.