--discard
A Claude Code CLI flag, read out of the shipped bundle. It has been in the build since v2.1.321, including the newest one read.
claude plugin restore-set-aside <plugin> gives set-aside plugin options and secrets to the current plugin, or deletes them with --discard
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.321.
In the changelogs
1Releases whose published page names --discard.
-
v2.1.321
New command recovers or deletes plugin data set aside after a marketplace swap
claude plugin restore-set-aside <plugin>gives set-aside plugin options and secrets to the current plugin, or deletes them with--discardfound in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
1Build by build
2One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.