4 references to HierarchicalOptions
System.CommandLine.StaticCompletions (3)
shells\BashShellProvider.cs (1)
45var completionOptions = command.HierarchicalOptions().Where(o => !o.Hidden).Select(o => o.Name).ToArray();
shells\PowershellShellProvider.cs (1)
180foreach (var option in command.HierarchicalOptions())
shells\ZshShellProvider.cs (1)
81foreach (var option in command.HierarchicalOptions())
System.CommandLine.StaticCompletions.Tests (1)
HelpExtensionsTests.cs (1)
47childCommand.HierarchicalOptions().Select(c => c.Name).Should().Equal(["--child-local", "--parent-global"]);