Show / Hide Table of Contents

Interface ICmdHelper

Namespace: Volo.Abp.Cli.Utils
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public interface ICmdHelper

Methods

GetArguments(string, int?)

Declaration
string GetArguments(string command, int? delaySeconds = null)
Parameters
Type Name Description
string command
int? delaySeconds
Returns
Type Description
string

GetFileName()

Declaration
string GetFileName()
Returns
Type Description
string

Open(string)

Declaration
void Open(string pathOrUrl)
Parameters
Type Name Description
string pathOrUrl

Run(string, string)

Declaration
void Run(string file, string arguments)
Parameters
Type Name Description
string file
string arguments

RunCmd(string, out int, string)

Declaration
void RunCmd(string command, out int exitCode, string workingDirectory = null)
Parameters
Type Name Description
string command
int exitCode
string workingDirectory

RunCmd(string, string)

Declaration
void RunCmd(string command, string workingDirectory = null)
Parameters
Type Name Description
string command
string workingDirectory

RunCmdAndExit(string, string, int?)

Declaration
void RunCmdAndExit(string command, string workingDirectory = null, int? delaySeconds = null)
Parameters
Type Name Description
string command
string workingDirectory
int? delaySeconds

RunCmdAndGetOutput(string, out bool, string)

Declaration
string RunCmdAndGetOutput(string command, out bool isExitCodeSuccessful, string workingDirectory = null)
Parameters
Type Name Description
string command
bool isExitCodeSuccessful
string workingDirectory
Returns
Type Description
string

RunCmdAndGetOutput(string, out int, string)

Declaration
string RunCmdAndGetOutput(string command, out int exitCode, string workingDirectory = null)
Parameters
Type Name Description
string command
int exitCode
string workingDirectory
Returns
Type Description
string

RunCmdAndGetOutput(string, string)

Declaration
string RunCmdAndGetOutput(string command, string workingDirectory = null)
Parameters
Type Name Description
string command
string workingDirectory
Returns
Type Description
string

RunCmdAndGetProcess(string, string)

Declaration
Process RunCmdAndGetProcess(string command, string workingDirectory = null)
Parameters
Type Name Description
string command
string workingDirectory
Returns
Type Description
Process

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by Volosoft