5 references to DotnetSubCommand
dotnet (4)
Extensions\ParseResultExtensions.cs (2)
102
|| (parseResult.IsTopLevelDotnetCommand() && string.IsNullOrEmpty(parseResult.GetValue(Parser.RootCommand.
DotnetSubCommand
)));
138
_ => parseResult.GetResult(Parser.RootCommand.
DotnetSubCommand
)?.GetValueOrDefault<string>()
Program.cs (2)
311
string commandName = "dotnet-" + parseResult.GetValue(Parser.RootCommand.
DotnetSubCommand
);
336
if (parseResult.GetResult(Parser.RootCommand.
DotnetSubCommand
) is { Tokens: [{ Type: TokenType.Argument, Value: { } } unmatchedCommandOrFile] }
Microsoft.DotNet.Cli.Definitions (1)
Commands\DotNetCommandDefinition.cs (1)
119
Arguments.Add(
DotnetSubCommand
);