Browse Source

Throw error on invalid suite command

pull/22422/head
Yunus Emre Kalkan 11 months ago
parent
commit
7dc9d2dd77
  1. 3
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/SuiteCommand.cs

3
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/SuiteCommand.cs

@ -107,6 +107,9 @@ public class SuiteCommand : IConsoleCommand, ITransientDependency
Logger.LogInformation("Removing ABP Suite...");
RemoveSuite();
break;
default:
throw new CliUsageException("Invalid Suite command! Run \"abp help suite\" command to see available Suite commands.");
}
}

Loading…
Cancel
Save