27 references to CommandOptionType
dotnet-dev-certs (27)
Program.cs (10)
68
CommandOptionType
.SingleValue);
72
CommandOptionType
.SingleValue);
77
CommandOptionType
.NoValue);
82
CommandOptionType
.NoValue);
87
CommandOptionType
.NoValue);
92
CommandOptionType
.SingleValue);
97
CommandOptionType
.SingleValue);
102
CommandOptionType
.NoValue);
106
CommandOptionType
.NoValue);
110
CommandOptionType
.NoValue);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (8)
89
public CommandOption Option(string template, string description,
CommandOptionType
optionType)
92
public CommandOption Option(string template, string description,
CommandOptionType
optionType, bool inherited)
95
public CommandOption Option(string template, string description,
CommandOptionType
optionType, Action<CommandOption> configuration)
98
public CommandOption Option(string template, string description,
CommandOptionType
optionType, Action<CommandOption> configuration, bool inherited)
239
else if (option.OptionType ==
CommandOptionType
.NoValue)
308
else if (option.OptionType ==
CommandOptionType
.NoValue)
386
OptionHelp = Option(template, "Show help information",
CommandOptionType
.NoValue);
412
OptionVersion = Option(template, "Show version information",
CommandOptionType
.NoValue);
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (5)
12
public CommandOption(string template,
CommandOptionType
optionType)
61
public
CommandOptionType
OptionType { get; private set; }
69
case
CommandOptionType
.MultipleValue:
72
case
CommandOptionType
.SingleValue:
79
case
CommandOptionType
.NoValue:
src\Tools\Shared\CommandLine\CommandLineApplicationExtensions.cs (4)
16
=> app.Option("-v|--verbose", "Show verbose output",
CommandOptionType
.NoValue, inherited: true);
34
? template.EndsWith(">...", StringComparison.Ordinal) ?
CommandOptionType
.MultipleValue :
CommandOptionType
.SingleValue
35
:
CommandOptionType
.NoValue);