-
Notifications
You must be signed in to change notification settings - Fork 1
/
ProgramTests.Help_Deprecate.verified.txt
33 lines (27 loc) · 2.52 KB
/
ProgramTests.Help_Deprecate.verified.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description:
Mark existing packages as deprecated.
Usage:
nuget-plc deprecate <PACKAGE_ID> [options]
Arguments:
<PACKAGE_ID> The ID of the package that should be deprecated.
Options:
--version <version> A specific version to mark as deprecated (multiple allowed).
--range <range> A range of versions to mark as deprecated (multiple allowed).
--all Deprecate all versions.
--api-key <api-key> The API key to use when deprecating the package.
--legacy Mark the deprecated versions as legacy.
--critical-bugs Mark the deprecated versions as having critical bugs.
--other-reason Mark the deprecated versions as having some other deprecation reason. Enabled by default if no other deprecation reason is selected.
--message <message> A deprecation message to display. Required if --other-reason is specified or no other deprecation reason is selected.
--alternate-id <id> An alternate package ID to recommend instead of this package.
--alternate-version <ver> A specific alternate package version to recommend. Only usable with --alternate-id.
--dry-run Runs the entire operation without actually submitting the deprecation request.
--overwrite Replace existing deprecation metadata on a package version.
--allow-missing-versions Allow deprecating versions that are not yet available on the source.
--skip-validation Skip as much validation as possible before submitting the request. Automatically enables the --allow-missing-versions and --overwrite options.
--source <source> The package source to use. [default: https://api.nuget.org/v3/index.json]
--package-publish-url <url> The URL to use for the PackagePublish resource. For V2 package sources, you may need to provide --package-publish-url as well. [default: discovered via --source option for a V3 feed and uses a '/package' convention on a V2 feed]
--listed-verb Set the listed status of the versions while deprecating. Use Unlist to unlist the versions, Relist to relist them, or Unchanged to leave the current listed status. [default: Unchanged]
--confirm Interactively confirm the contents of the deprecation API request before proceeding.
--log-level <level> The minimum log level to display. Possible values: Verbose, Debug, Information, Warning, Error, Fatal [default: Information]
-?, -h, --help Show help and usage information