feat: 支持版本号
This commit is contained in:
@@ -1,35 +1,25 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System.Reflection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Yi.Abp.Tool;
|
||||
|
||||
class Program
|
||||
{
|
||||
static async Task Main(string[] args)
|
||||
{
|
||||
|
||||
#if DEBUG
|
||||
//args = ["v"];
|
||||
//args = ["-v"];
|
||||
//args = ["h"];
|
||||
//args = ["-h"];
|
||||
//args = [];
|
||||
//args = ["12312"];
|
||||
//args = ["new", "Acme.Book", "-t", "module", "-csf"];
|
||||
//args = ["new", "Acme.Book", "-t", "module"];
|
||||
//args = ["add-module", "Acme.Demo", "-s", "D:\\code\\csharp\\source\\Yi\\Yi.Abp.Net8", "-modulePath", "D:\\code\\csharp\\source\\Yi\\Yi.Abp.Net8\\module\\acme-demo"];
|
||||
// args = ["clear", "-path", "D:\\code\\csharp\\source\\Yi\\Yi.Abp.Net8\\src"];
|
||||
|
||||
|
||||
//帮助
|
||||
//args = ["-h"];
|
||||
|
||||
//版本
|
||||
// args = ["-v"];
|
||||
args = ["-v"];
|
||||
|
||||
//清理
|
||||
// args = ["clear"];
|
||||
|
||||
//创建模块
|
||||
args = ["new","oooo", "-t","module","-p","D:\\temp","-csf"];
|
||||
//args = ["new","oooo", "-t","module","-p","D:\\temp","-csf"];
|
||||
|
||||
//添加模块
|
||||
//args = ["add-module", "kkk"];
|
||||
|
||||
Reference in New Issue
Block a user