gh-project-item-archive1
Archive an item in a project
Usage
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
Exit status
0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
Examples
# Archive an item in the current user's project "1" $ gh project item-archive 1 --owner "@me" --id <item-ID>
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.