gh project item-archive
归档项目中的项目
gh project item-archive [<number>] [flags]
选项
-
--format <string> - 输出格式: {json}
-
--id <string> - 要归档的项目的 ID
-q,--jq <expression>- 使用 jq 表达式过滤 JSON 输出
-
--owner <string> - 所有者的登录名。对当前用户使用 "@me"。
-t,--template <string>- 使用 Go 模板格式化 JSON 输出;参见 "gh help formatting"
-
--undo - 取消归档项目
示例
# archive an item in the current user's project "1"
gh project item-archive 1 --owner "@me" --id <item-ID>