7 references to Command
dotnet (2)
Extensions\ParseResultExtensions.cs (1)
34
|| token.Type == TokenType.
Command
Telemetry\AllowListToSendVerbSecondVerbFirstArgument.cs (1)
22
var secondVerb = parseResult.Tokens.Where(s => s.Type == TokenType.
Command
).Skip(1).FirstOrDefault()?.Value ?? "";
System.CommandLine (5)
Parsing\ParseOperation.cs (1)
123
else if (currentTokenType == TokenType.
Command
)
Parsing\StringExtensions.cs (4)
143
case TokenType.
Command
:
187
Token Command(string value, Command cmd) => new(value, TokenType.
Command
, cmd, i);
447
tokens.Add(cmd.Name, new Token(cmd.Name, TokenType.
Command
, cmd, Token.ImplicitPosition));
453
tokens.Add(childAlias, new Token(childAlias, TokenType.
Command
, cmd, Token.ImplicitPosition));