feat: 发布0.7版本yi-abp-tool

This commit is contained in:
橙子
2024-06-05 20:28:53 +08:00
parent 9cc5d76888
commit 39a9416427
4 changed files with 6 additions and 5 deletions

View File

@@ -47,7 +47,6 @@ namespace Yi.Abp.Tool.Commands
StartCmd(cmdCommands);
await Console.Out.WriteLineAsync("恭喜~模块添加成功!");
return Task.CompletedTask;
}
/// <summary>
@@ -79,7 +78,7 @@ namespace Yi.Abp.Tool.Commands
ProcessStartInfo psi = new ProcessStartInfo
{
FileName = "cmd.exe",
Arguments = $"/c {string.Join("&", cmdCommands)}",
Arguments = $"/c chcp 65001&{string.Join("&", cmdCommands)}",
RedirectStandardInput = true,
RedirectStandardOutput = true,
RedirectStandardError = true,
@@ -99,6 +98,7 @@ namespace Yi.Abp.Tool.Commands
proc.WaitForExit();
}
/// <summary>
/// 检查路径
/// </summary>

View File

@@ -30,7 +30,8 @@ namespace Yi.Abp.Tool.Commands
> help: 查看帮助列表,写下命令` yi-abp help <command> `
> new: 创建模块模板` yi-abp new <name> -t module -csf `
> new: 创建项目模板` yi-abp new <name> -csf `
> add: 将内容添加到当前解决方案` yi-abp add module -moduleName <name> -modulePath <path> `
> add-module: 将内容添加到当前解决方案` yi-abp add-module <moduleName> -modulePath <path> [-s <slnPath>] `
- add例子yi-abp 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"
""");
return Task.CompletedTask;