10 references to ShellNames
System.CommandLine.StaticCompletions (10)
CompletionsCommandDefinition.cs (3)
14DefaultValueFactory = _ => ShellNames.GetShellNameFromEnvironment() 32if (!ShellNames.All.Contains(singleToken.Value)) 34argumentResult.AddError(string.Format(Strings.ShellDiscovery_ShellNotSupported, singleToken.Value, string.Join(", ", ShellNames.All)));
CompletionsCommandParser.cs (2)
25Debug.Assert(providers.Select(provider => provider.ArgumentName).SequenceEqual(ShellNames.All)); 33ShellNames.All.Select(shellName => new CompletionItem(shellName, documentation: ShellProviders[shellName].HelpDescription)));
shells\BashShellProvider.cs (1)
12public string ArgumentName => ShellNames.Bash;
shells\FishShellProvider.cs (1)
12public string ArgumentName => ShellNames.Fish;
shells\NuShellShellProvider.cs (1)
10public string ArgumentName => ShellNames.Nushell;
shells\PowershellShellProvider.cs (1)
13public string ArgumentName => ShellNames.PowerShell;
shells\ZshShellProvider.cs (1)
11public string ArgumentName => ShellNames.Zsh;