9 instantiations of DocumentedCommand
NuGet.CommandLine.XPlat (9)
Commands\ConfigCommands\ConfigCommand.cs (5)
91var ConfigCmd = new DocumentedCommand(name: "config", description: Strings.Config_Description, "https://aka.ms/dotnet/nuget/config"); 97var PathsCmd = new DocumentedCommand(name: "paths", description: Strings.ConfigPathsCommandDescription, "https://aka.ms/dotnet/nuget/config/paths"); 105var GetCmd = new DocumentedCommand(name: "get", description: Strings.ConfigGetCommandDescription, "https://aka.ms/dotnet/nuget/config/get"); 113var SetCmd = new DocumentedCommand(name: "set", description: Strings.ConfigSetCommandDescription, "https://aka.ms/dotnet/nuget/config/set"); 121var UnsetCmd = new DocumentedCommand(name: "unset", description: Strings.ConfigUnsetCommandDescription, "https://aka.ms/dotnet/nuget/config/unset");
Commands\Package\Download\PackageDownloadCommand.cs (1)
23var downloadCommand = new DocumentedCommand(
Commands\Package\Update\PackageUpdateCommand.cs (1)
25var command = new DocumentedCommand("update", Strings.PackageUpdateCommand_Description, "https://aka.ms/dotnet/package/update");
Commands\PackageSearch\PackageSearchCommand.cs (1)
28var searchCommand = new DocumentedCommand("search", Strings.pkgSearch_Description, "https://aka.ms/dotnet/package/search");
Commands\Why\WhyCommand.cs (1)
63var whyCommand = new DocumentedCommand("why", Strings.WhyCommand_Description, "https://aka.ms/dotnet/nuget/why");
11 references to DocumentedCommand
dotnet (2)
Commands\Help\HelpCommand.cs (2)
11using NuGetDocumentedCommand = NuGet.CommandLine.XPlat.Commands.DocumentedCommand; 114else if (parsedCommand?.CommandResult?.Command is NuGetDocumentedCommand ndc)
NuGet.CommandLine.XPlat (9)
Commands\ConfigCommands\ConfigCommand.cs (5)
91var ConfigCmd = new DocumentedCommand(name: "config", description: Strings.Config_Description, "https://aka.ms/dotnet/nuget/config"); 97var PathsCmd = new DocumentedCommand(name: "paths", description: Strings.ConfigPathsCommandDescription, "https://aka.ms/dotnet/nuget/config/paths"); 105var GetCmd = new DocumentedCommand(name: "get", description: Strings.ConfigGetCommandDescription, "https://aka.ms/dotnet/nuget/config/get"); 113var SetCmd = new DocumentedCommand(name: "set", description: Strings.ConfigSetCommandDescription, "https://aka.ms/dotnet/nuget/config/set"); 121var UnsetCmd = new DocumentedCommand(name: "unset", description: Strings.ConfigUnsetCommandDescription, "https://aka.ms/dotnet/nuget/config/unset");
Commands\Package\Download\PackageDownloadCommand.cs (1)
23var downloadCommand = new DocumentedCommand(
Commands\Package\Update\PackageUpdateCommand.cs (1)
25var command = new DocumentedCommand("update", Strings.PackageUpdateCommand_Description, "https://aka.ms/dotnet/package/update");
Commands\PackageSearch\PackageSearchCommand.cs (1)
28var searchCommand = new DocumentedCommand("search", Strings.pkgSearch_Description, "https://aka.ms/dotnet/package/search");
Commands\Why\WhyCommand.cs (1)
63var whyCommand = new DocumentedCommand("why", Strings.WhyCommand_Description, "https://aka.ms/dotnet/nuget/why");