5 references to DefaultShells
dotnet.Tests (2)
CompletionTests\DotnetCliSnapshotTests.cs (2)
17var provider = CompletionsCommand.DefaultShells.Single(x => x.ArgumentName == shellName); 34public static IEnumerable<object[]> ShellNames = CompletionsCommand.DefaultShells.Select<IShellProvider, object[]>(x => [x.ArgumentName]);
System.CommandLine.StaticCompletions (3)
CompletionsCommand.cs (3)
23/// Creates a new Completions command exclusively with the provided supported shells. If no shells are provided, the <see cref="DefaultShells"/> are used. 25/// <param name="supportedShells">The shells to support in the completions command. If null, <see cref="DefaultShells"/> will be used.</param> 28public CompletionsCommand(IEnumerable<IShellProvider>? supportedShells = null, string commandName = "completions", string? commandDescription = null) : this((supportedShells ?? DefaultShells).ToDictionary(s => s.ArgumentName, StringComparer.OrdinalIgnoreCase), commandName, commandDescription ?? Strings.CompletionsCommand_Description)