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