feat: 发布0.7版本yi-abp-tool
This commit is contained in:
@@ -47,7 +47,6 @@ namespace Yi.Abp.Tool.Commands
|
|||||||
StartCmd(cmdCommands);
|
StartCmd(cmdCommands);
|
||||||
|
|
||||||
await Console.Out.WriteLineAsync("恭喜~模块添加成功!");
|
await Console.Out.WriteLineAsync("恭喜~模块添加成功!");
|
||||||
return Task.CompletedTask;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -79,7 +78,7 @@ namespace Yi.Abp.Tool.Commands
|
|||||||
ProcessStartInfo psi = new ProcessStartInfo
|
ProcessStartInfo psi = new ProcessStartInfo
|
||||||
{
|
{
|
||||||
FileName = "cmd.exe",
|
FileName = "cmd.exe",
|
||||||
Arguments = $"/c {string.Join("&", cmdCommands)}",
|
Arguments = $"/c chcp 65001&{string.Join("&", cmdCommands)}",
|
||||||
RedirectStandardInput = true,
|
RedirectStandardInput = true,
|
||||||
RedirectStandardOutput = true,
|
RedirectStandardOutput = true,
|
||||||
RedirectStandardError = true,
|
RedirectStandardError = true,
|
||||||
@@ -99,6 +98,7 @@ namespace Yi.Abp.Tool.Commands
|
|||||||
proc.WaitForExit();
|
proc.WaitForExit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 检查路径
|
/// 检查路径
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -30,7 +30,8 @@ namespace Yi.Abp.Tool.Commands
|
|||||||
> help: 查看帮助列表,写下命令` yi-abp help <command> `
|
> help: 查看帮助列表,写下命令` yi-abp help <command> `
|
||||||
> new: 创建模块模板` yi-abp new <name> -t module -csf `
|
> new: 创建模块模板` yi-abp new <name> -t module -csf `
|
||||||
> new: 创建项目模板` yi-abp new <name> -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;
|
return Task.CompletedTask;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class Program
|
|||||||
//args = ["12312"];
|
//args = ["12312"];
|
||||||
//args = ["new", "Acme.Book", "-t", "module", "-csf"];
|
//args = ["new", "Acme.Book", "-t", "module", "-csf"];
|
||||||
//args = ["new", "Acme.Book", "-t", "module"];
|
//args = ["new", "Acme.Book", "-t", "module"];
|
||||||
args = ["add","module", "-moduleName", "Acme.Demo", "-modulePath", "module\\acme-demo"];
|
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"];
|
||||||
#endif
|
#endif
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Version>0.6.0</Version>
|
<Version>0.7.0</Version>
|
||||||
<Authors>橙子老哥</Authors>
|
<Authors>橙子老哥</Authors>
|
||||||
<Description>yi-framework框架配套工具</Description>
|
<Description>yi-framework框架配套工具</Description>
|
||||||
<PackageProjectUrl>https://ccnetcore.com</PackageProjectUrl>
|
<PackageProjectUrl>https://ccnetcore.com</PackageProjectUrl>
|
||||||
|
|||||||
Reference in New Issue
Block a user