1 instantiation of CommandOption
GetDocument.Insider (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
100
var option = new
CommandOption
(template, optionType)
31 references to CommandOption
GetDocument.Insider (31)
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();
Commands\GetDocumentCommand.cs (5)
18
private
CommandOption
_fileListPath;
19
private
CommandOption
_output;
20
private
CommandOption
_openApiVersion;
21
private
CommandOption
_documentName;
22
private
CommandOption
_fileName;
Commands\ProjectCommandBase.cs (3)
15
public
CommandOption
AssemblyPath { get; private set; }
17
public
CommandOption
ProjectName { get; private set; }
19
public
CommandOption
ToolsDirectory { 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)