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