Class AddPackageCommand
Inheritance
AddPackageCommand
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class AddPackageCommand : IConsoleCommand, ITransientDependency
Constructors
AddPackageCommand(ProjectNugetPackageAdder, ProjectNpmPackageAdder)
Declaration
public AddPackageCommand(ProjectNugetPackageAdder projectNugetPackageAdder, ProjectNpmPackageAdder projectNpmPackageAdder)
Parameters
Fields
Name
Declaration
public const string Name = "add-package"
Field Value
Properties
Logger
Declaration
public ILogger<AddPackageCommand> Logger { get; set; }
Property Value
ProjectNpmPackageAdder
Declaration
public ProjectNpmPackageAdder ProjectNpmPackageAdder { get; }
Property Value
ProjectNugetPackageAdder
Declaration
protected ProjectNugetPackageAdder ProjectNugetPackageAdder { get; }
Property Value
Methods
ExecuteAsync(CommandLineArgs)
Declaration
public virtual Task ExecuteAsync(CommandLineArgs commandLineArgs)
Parameters
Returns
GetAngularDirectory(CommandLineArgs)
Declaration
protected virtual string GetAngularDirectory(CommandLineArgs commandLineArgs)
Parameters
Returns
GetProjectFile(CommandLineArgs)
Declaration
protected virtual string GetProjectFile(CommandLineArgs commandLineArgs)
Parameters
Returns
GetShortDescription()
Declaration
public static string GetShortDescription()
Returns
GetSolutionFile(CommandLineArgs)
Declaration
protected virtual string GetSolutionFile(CommandLineArgs commandLineArgs)
Parameters
Returns
GetUsageInfo()
Declaration
public string GetUsageInfo()
Returns
Implements
Extension Methods