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