11 references to DotnetSubCommand
dotnet (5)
Extensions\ParseResultExtensions.cs (4)
39
&& !string.IsNullOrEmpty(parseResult.GetValue(Parser.RootCommand.
DotnetSubCommand
));
52
parseResult.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)
176
string commandName = "dotnet-" + parseResult.GetValue(Parser.RootCommand.
DotnetSubCommand
);
dotnet-aot (5)
NativeEntryPoint.cs (1)
308
string? subCommandToken = parseResult.GetValue(Parser.RootCommand.
DotnetSubCommand
);
src\sdk\src\Cli\dotnet\Extensions\ParseResultExtensions.cs (4)
39
&& !string.IsNullOrEmpty(parseResult.GetValue(Parser.RootCommand.
DotnetSubCommand
));
52
parseResult.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)
119
Arguments.Add(
DotnetSubCommand
);