15 lines
472 B
C#
15 lines
472 B
C#
namespace Yi.Abp.Tool.Commands
|
|
{
|
|
public class VersionCommand : ICommand
|
|
{
|
|
public List<string> CommandStrs => new List<string> { "version", "v", "-version", "-v" };
|
|
|
|
public Task InvokerAsync(Dictionary<string, string> options)
|
|
{
|
|
var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
|
Console.WriteLine($"Yi-ABP TOOL {version}");
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
}
|