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)
311string commandName = "dotnet-" + parseResult.GetValue(Parser.RootCommand.DotnetSubCommand); 336if (parseResult.GetResult(Parser.RootCommand.DotnetSubCommand) is { Tokens: [{ Type: TokenType.Argument, Value: { } } unmatchedCommandOrFile] }
Microsoft.DotNet.Cli.Definitions (1)
Commands\DotNetCommandDefinition.cs (1)
119Arguments.Add(DotnetSubCommand);