1 instantiation of CommandOption
dotnet-user-jwts (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
100
var option = new
CommandOption
(template, optionType)
50 references to CommandOption
dotnet-user-jwts (50)
Commands\ClearCommand.cs (1)
17
var
forceOption = cmd.Option(
Commands\CreateCommand.cs (21)
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(
99
CommandOption
projectOption,
100
CommandOption
schemeNameOption,
101
CommandOption
nameOption,
102
CommandOption
audienceOption,
103
CommandOption
issuerOption,
104
CommandOption
notBeforeOption,
105
CommandOption
expiresOnOption,
106
CommandOption
validForOption,
107
CommandOption
rolesOption,
108
CommandOption
scopesOption,
109
CommandOption
claimsOption)
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; }
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)