gh-project-item-archive - Man Page

Archive an item in a project

Synopsis

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

Example

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

See Also

gh-project(1)

Referenced By

gh-project(1).

Feb 2024 GitHub CLI manual