1 instantiation of CommandOption
dotnet-getdocument (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
100
var option = new
CommandOption
(template, optionType)
29 references to CommandOption
dotnet-getdocument (29)
ProjectOptions.cs (6)
10
public
CommandOption
AssemblyPath { get; private set; }
12
public
CommandOption
AssetsFile { get; private set; }
14
public
CommandOption
Platform { get; private set; }
16
public
CommandOption
ProjectName { get; private set; }
18
public
CommandOption
RuntimeFrameworkVersion { get; private set; }
20
public
CommandOption
TargetFramework { 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\GetDocumentInsider\src\Commands\CommandBase.cs (3)
28
var
prefixOutput = command.Option("--prefix-output", Resources.PrefixDescription);
29
var
quiet = command.Option("-q|--quiet", Resources.QuietDescription);
30
var
verbose = command.VerboseOption();
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)