gh project mark-template
将项目标记为模板
gh project mark-template [<number>] [flags]
选项
-
--format <string> - 输出格式: {json}
-q,--jq <expression>- 使用 jq 表达式过滤 JSON 输出
-
--owner <string> - 组织所有者的登录名。
-t,--template <string>- 使用 Go 模板格式化 JSON 输出;参见“gh help formatting”
-
--undo - 取消将项目标记为模板。
示例
# mark the github org's project "1" as a template
gh project mark-template 1 --owner "github"
# unmark the github org's project "1" as a template
gh project mark-template 1 --owner "github" --undo