11 references to DotnetSubCommand
dotnet (5)
Extensions\ParseResultExtensions.cs (4)
39&& !string.IsNullOrEmpty(parseResult.GetValue(Parser.RootCommand.DotnetSubCommand)); 52parseResult.GetResult(Parser.RootCommand.DotnetSubCommand) is { Tokens: [{ Type: TokenType.Argument, Value: { } } unmatchedCommandOrFile] } 85_ => parseResult.GetResult(Parser.RootCommand.DotnetSubCommand)?.GetValueOrDefault<string>() 137|| (parseResult.IsTopLevelDotnetCommand() && string.IsNullOrEmpty(parseResult.GetValue(Parser.RootCommand.DotnetSubCommand)));
Program.cs (1)
176string commandName = "dotnet-" + parseResult.GetValue(Parser.RootCommand.DotnetSubCommand);
dotnet-aot (5)
NativeEntryPoint.cs (1)
308string? subCommandToken = parseResult.GetValue(Parser.RootCommand.DotnetSubCommand);
src\sdk\src\Cli\dotnet\Extensions\ParseResultExtensions.cs (4)
39&& !string.IsNullOrEmpty(parseResult.GetValue(Parser.RootCommand.DotnetSubCommand)); 52parseResult.GetResult(Parser.RootCommand.DotnetSubCommand) is { Tokens: [{ Type: TokenType.Argument, Value: { } } unmatchedCommandOrFile] } 85_ => parseResult.GetResult(Parser.RootCommand.DotnetSubCommand)?.GetValueOrDefault<string>() 137|| (parseResult.IsTopLevelDotnetCommand() && string.IsNullOrEmpty(parseResult.GetValue(Parser.RootCommand.DotnetSubCommand)));
Microsoft.DotNet.Cli.Definitions (1)
Commands\DotNetCommandDefinition.cs (1)
119Arguments.Add(DotnetSubCommand);