Fix CLI Installer
This commit is contained in:
parent
ddbfb39e87
commit
0976297348
|
@ -23,6 +23,7 @@ namespace Installer
|
||||||
Basic = args.Length > 0 && args[0].ToLower() == "--basic";
|
Basic = args.Length > 0 && args[0].ToLower() == "--basic";
|
||||||
ExternalFunctionalityManager.Init(new UtLibFunctions());
|
ExternalFunctionalityManager.Init(new UtLibFunctions());
|
||||||
RootCommand rootCommand = new RootCommand();
|
RootCommand rootCommand = new RootCommand();
|
||||||
|
rootCommand.AddGlobalOption(new Option<bool>("--basic", "Use only basic console functionality. Must be the first parameter in the call"));
|
||||||
Command install = new Command("install", "Install UpTool")
|
Command install = new Command("install", "Install UpTool")
|
||||||
{
|
{
|
||||||
new Option<bool>(new[] {"--noPrep", "-p"}, "Doesn't initialize repos. Use with caution!")
|
new Option<bool>(new[] {"--noPrep", "-p"}, "Doesn't initialize repos. Use with caution!")
|
||||||
|
|
Reference in New Issue
Block a user