GH-PROJECT-ITEM-ARCHIVE(1) GitHub CLI manual GH-PROJECT-ITEM-ARCHIVE(1)

gh-project-item-archive - Archive an item in a project

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

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

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

gh-project(1)

Apr 2024