Browse Source
Merge pull request #11019 from iyilm4z/iy-CleanCommand
used constant for command name
pull/11016/head
maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/AbpCliCoreModule.cs
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/CleanCommand.cs
|
|
|
@ -64,7 +64,7 @@ public class AbpCliCoreModule : AbpModule |
|
|
|
options.Commands["bundle"] = typeof(BundleCommand); |
|
|
|
options.Commands["create-migration-and-run-migrator"] = typeof(CreateMigrationAndRunMigratorCommand); |
|
|
|
options.Commands["install-libs"] = typeof(InstallLibsCommand); |
|
|
|
options.Commands["clean"] = typeof(CleanCommand); |
|
|
|
options.Commands[CleanCommand.Name] = typeof(CleanCommand); |
|
|
|
}); |
|
|
|
|
|
|
|
Configure<AbpCliServiceProxyOptions>(options => |
|
|
|
|
|
|
|
@ -12,6 +12,8 @@ namespace Volo.Abp.Cli.Commands; |
|
|
|
|
|
|
|
public class CleanCommand : IConsoleCommand, ITransientDependency |
|
|
|
{ |
|
|
|
public const string Name = "clean"; |
|
|
|
|
|
|
|
public ILogger<CleanCommand> Logger { get; set; } |
|
|
|
|
|
|
|
public CleanCommand() |
|
|
|
|