1 write to Commands
dotnet-openapi (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
41Commands = new List<CommandLineApplication>();
9 references to Commands
dotnet-openapi (9)
Application.cs (3)
46Commands.Add(new AddCommand(this, httpClient)); 47Commands.Add(new RemoveCommand(this, httpClient)); 48Commands.Add(new RefreshCommand(this, httpClient));
Commands\AddCommand.cs (2)
16Commands.Add(new AddFileCommand(this, httpClient)); 18Commands.Add(new AddURLCommand(this, httpClient));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
84Commands.Add(command); 331foreach (var subcommand in command.Commands) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase)); 505var commands = target.Commands.Where(c => c.ShowInHelpText).ToList();