public static IConfigurationBuilder AddKingpinNetCommandLine(this IConfigurationBuilder configurationBuilder, string[] args, KingpinApplication application = null) { configurationBuilder.Add(new KingpinNetCommandLineConfigurationSource() { KingpinApplication = application, Args = args }); return(configurationBuilder); }
public Parser(KingpinApplication application, CommandLineTokenizer commandLineTokenizer) { commands = application.Commands.ToList(); globalFlags = application.Flags.ToList(); globalArguments = application.Arguments.ToList(); logger = application.log; exeFileName = application.exeFileName; exeFileExtension = application.exeFileExtension; this.commandLineTokenizer = commandLineTokenizer; }
public KingpinCommandLineConfigurationProvider(IEnumerable <string> args, KingpinApplication application) { _kingpinApplication = application; _args = args; }
public ApplicationDrop(KingpinApplication application) { this.application = application; }
private ILiquidizable ToDrop(KingpinApplication application) { return(new ApplicationDrop(application)); }
public HelpGenerator(KingpinApplication application, IConsole console) { _application = application; this.console = console; }