Class CliCommand
Inheritance
object
CliCommand
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.Commands
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class CliCommand : IConsoleCommand, ITransientDependency
Constructors
CliCommand(ICmdHelper, PackageVersionCheckerService, AbpNuGetIndexUrlService)
Declaration
public CliCommand(ICmdHelper cmdHelper, PackageVersionCheckerService packageVersionCheckerService, AbpNuGetIndexUrlService nuGetIndexUrlService)
Parameters
| Type | Name | Description |
|---|---|---|
| ICmdHelper | cmdHelper | |
| PackageVersionCheckerService | packageVersionCheckerService | |
| AbpNuGetIndexUrlService | nuGetIndexUrlService |
Fields
Name
Declaration
public const string Name = "cli"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Logger
Declaration
public ILogger<CliCommand> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger<TCategoryName><CliCommand> |
Methods
ExecuteAsync(CommandLineArgs)
Declaration
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandLineArgs | commandLineArgs |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
GetShortDescription()
Declaration
public string GetShortDescription()
Returns
| Type | Description |
|---|---|
| string |
GetUsageInfo()
Declaration
public string GetUsageInfo()
Returns
| Type | Description |
|---|---|
| string |