1 instantiation of CommandOption
dotnet-user-jwts (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
100
var option = new
CommandOption
(template, optionType)
54 references to CommandOption
dotnet-user-jwts (54)
Commands\ClearCommand.cs (2)
17
var
forceOption = cmd.Option(
22
var
appsettingsFileOption = cmd.Option(
Commands\CreateCommand.cs (23)
29
var
schemeNameOption = cmd.Option(
35
var
nameOption = cmd.Option(
40
var
audienceOption = cmd.Option(
45
var
issuerOption = cmd.Option(
50
var
scopesOption = cmd.Option(
55
var
rolesOption = cmd.Option(
60
var
claimsOption = cmd.Option(
65
var
notBeforeOption = cmd.Option(
70
var
expiresOnOption = cmd.Option(
75
var
validForOption = cmd.Option(
80
var
appsettingsFileOption = cmd.Option(
104
CommandOption
projectOption,
105
CommandOption
schemeNameOption,
106
CommandOption
nameOption,
107
CommandOption
audienceOption,
108
CommandOption
issuerOption,
109
CommandOption
notBeforeOption,
110
CommandOption
expiresOnOption,
111
CommandOption
validForOption,
112
CommandOption
rolesOption,
113
CommandOption
scopesOption,
114
CommandOption
claimsOption,
115
CommandOption
appsettingsFileOption)
Commands\KeyCommand.cs (4)
18
var
schemeOption = cmd.Option(
23
var
issuerOption = cmd.Option(
29
var
resetOption = cmd.Option(
34
var
forceOption = cmd.Option(
Commands\ListCommand.cs (1)
18
var
showTokensOption = cmd.Option(
Commands\PrintCommand.cs (1)
18
var
showAllOption = cmd.Option("--show-all", Resources.PrintCommand_ShowAllOption_Description, CommandOptionType.NoValue);
Commands\ProjectCommandLineApplication.cs (2)
11
public
CommandOption
ProjectOption { get; private set; }
13
public
CommandOption
OutputOption { get; private set; }
Commands\RemoveCommand.cs (1)
19
var
appsettingsFileOption = cmd.Option(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (17)
39
Options = new List<
CommandOption
>();
53
public readonly List<
CommandOption
> Options;
54
public
CommandOption
OptionHelp { get; private set; }
55
public
CommandOption
OptionVersion { get; private set; }
67
public IEnumerable<
CommandOption
> GetOptions()
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)
100
var
option = new CommandOption(template, optionType)
145
CommandOption
option = null;
382
public
CommandOption
HelpOption(string template)
391
public
CommandOption
VersionOption(string template,
406
public
CommandOption
VersionOption(string template,
498
foreach (
var
opt in options)
src\Tools\Shared\CommandLine\CommandLineApplicationExtensions.cs (3)
12
public static
CommandOption
HelpOption(this CommandLineApplication app)
15
public static
CommandOption
VerboseOption(this CommandLineApplication app)
25
public static
CommandOption
Option(this CommandLineApplication command, string template, string description)