5 references to DotnetSubCommand
dotnet (5)
Extensions\ParseResultExtensions.cs (2)
108
(parseResult.IsTopLevelDotnetCommand() && string.IsNullOrEmpty(parseResult.GetValue(Parser.
DotnetSubCommand
)));
170
_ => parseResult.GetResult(Parser.
DotnetSubCommand
)?.GetValueOrDefault<string>()
Parser.cs (1)
165
rootCommand.Arguments.Add(
DotnetSubCommand
);
Program.cs (2)
257
string commandName = "dotnet-" + parseResult.GetValue(Parser.
DotnetSubCommand
);
306
if (parseResult.GetValue(Parser.
DotnetSubCommand
) is { } unmatchedCommandOrFile