gh project item-archive

Archive an item in a project

gh project item-archive [<number>] [flags]

Options

--format <string>
Output format: {json}
--id <string>
ID of the item to archive
-q, --jq <expression>
Filter JSON output using a jq expression
--owner <string>
Login of the owner. Use "@me" for the current user.
-t, --template <string>
Format JSON output using a Go template; see "gh help formatting"
--undo
Unarchive an item

Examples

# archive an item in the current user's project "1"
gh project item-archive 1 --owner "@me" --id <item-ID>

See also