public CommandLineApplication Create() { var app = new CommandLineApplication { Name = "ant-design-blazor", FullName = "Ant Design Blazor Command Line Tool", Description = "Generate demo structured file for Docs." }; app.HelpOption(); app.VersionOptionFromAssemblyAttributes(typeof(Program).Assembly); app.OnExecute(() => { app.ShowHelp(); return(2); }); _appCommandResolver.Resolve(app); return(app); }
public CommandLineApplication Create() { var app = new CommandLineApplication { Name = "dotnet skywalking", FullName = "Apache SkyWalking .NET Core Agent Command Line Tool", Description = "Install SkyWalking .NET Core Agent and generate config file." }; app.HelpOption(); app.VersionOptionFromAssemblyAttributes(typeof(Program).Assembly); app.OnExecute(() => { app.ShowHelp(); return(2); }); _appCommandResolver.Resolve(app); return(app); }
public CommandLineApplication Create() { var app = new CommandLineApplication { Name = "skyapm", FullName = "SkyAPM .NET Core Agent Command Line Tool", Description = "Generate SkyAPM config file." }; app.HelpOption(); app.VersionOptionFromAssemblyAttributes(typeof(Program).Assembly); app.OnExecute(() => { app.ShowHelp(); return(2); }); _appCommandResolver.Resolve(app); return(app); }