Class CliService
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class CliService : ITransientDependency
Constructors
CliService(ICommandLineArgumentParser, ICommandSelector, IServiceScopeFactory, PackageVersionCheckerService, ICmdHelper, MemoryService)
Declaration
public CliService(ICommandLineArgumentParser commandLineArgumentParser, ICommandSelector commandSelector, IServiceScopeFactory serviceScopeFactory, PackageVersionCheckerService nugetService, ICmdHelper cmdHelper, MemoryService memoryService)
Parameters
Properties
CmdHelper
Declaration
public ICmdHelper CmdHelper { get; }
Property Value
CommandLineArgumentParser
Declaration
protected ICommandLineArgumentParser CommandLineArgumentParser { get; }
Property Value
CommandSelector
Declaration
protected ICommandSelector CommandSelector { get; }
Property Value
Logger
Declaration
public ILogger<CliService> Logger { get; set; }
Property Value
PackageVersionCheckerService
Declaration
protected PackageVersionCheckerService PackageVersionCheckerService { get; }
Property Value
ServiceScopeFactory
Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
Methods
GetCurrentCliVersionAsync(Assembly)
Declaration
public Task<SemanticVersion> GetCurrentCliVersionAsync(Assembly assembly)
Parameters
Returns
Type |
Description |
Task<SemanticVersion> |
|
RunAsync(string[])
Declaration
public Task RunAsync(string[] args)
Parameters
Type |
Name |
Description |
string[] |
args |
|
Returns
Implements
Extension Methods