13 references to CommandOptionType
ClientSample (13)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (8)
89public CommandOption Option(string template, string description, CommandOptionType optionType) 92public CommandOption Option(string template, string description, CommandOptionType optionType, bool inherited) 95public CommandOption Option(string template, string description, CommandOptionType optionType, Action<CommandOption> configuration) 98public CommandOption Option(string template, string description, CommandOptionType optionType, Action<CommandOption> configuration, bool inherited) 239else if (option.OptionType == CommandOptionType.NoValue) 308else if (option.OptionType == CommandOptionType.NoValue) 386OptionHelp = Option(template, "Show help information", CommandOptionType.NoValue); 412OptionVersion = Option(template, "Show version information", CommandOptionType.NoValue);
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (5)
12public CommandOption(string template, CommandOptionType optionType) 61public CommandOptionType OptionType { get; private set; } 69case CommandOptionType.MultipleValue: 72case CommandOptionType.SingleValue: 79case CommandOptionType.NoValue: