feat: 完成abp-tool的接口调用
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System.Reflection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Yi.Abp.Tool;
|
||||
using Yi.Abp.Tool.Application.Contracts;
|
||||
|
||||
class Program
|
||||
{
|
||||
@@ -27,6 +27,7 @@ class Program
|
||||
.UseAutofac()
|
||||
.Build();
|
||||
|
||||
var sss= host.Services.GetRequiredService<ITemplateGenService>();
|
||||
var commandSelector = host.Services.GetRequiredService<CommandSelector>();
|
||||
await commandSelector.SelectorAsync(args);
|
||||
}
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Abp.Tool.HttpApi.Client;
|
||||
using Yi.Abp.Tool.HttpApi.Client;
|
||||
|
||||
namespace Yi.Abp.Tool
|
||||
{
|
||||
[DependsOn(typeof(YiAbpToolHttpApiClientModule))]
|
||||
[DependsOn(typeof(YiAbpToolHttpApiClientModule)
|
||||
)]
|
||||
public class YiAbpToolModule : AbpModule
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user