Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[cli-consistency] CLI Consistency Issues - 2026-10-08

未关闭 适合新手
#66,893 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
go
领域
cli, documentation

调研方向

从 docs/src/content/docs/setup/cli.md 和 issue 中引用的 gh aw work-queue 帮助输出开始;比较附近的实用工具命令条目和共享的 flag 约定。记录这个实验性命令、列出的子命令和 flag,并统一 flag 定义,或说明任何有意的差异。完成标准是 CLI 文档涵盖 work-queue 及其选项,并且 flag 符合所述约定,或者其例外情况已记录。

由索引模型根据 Issue 内容生成。

描述

automation cli cookie documentation
Summary

Inspected ~45 top-level commands (plus subcommands, 510 help files) from /tmp/gh-aw/agent/all-help.txt. Found 2 issues: 0 high, 1 medium, 1 low.

Documentation gaps

1. work-queue is not documented in docs/src/content/docs/setup/cli.md (medium)

  • Affected: gh aw work-queue and subcommands cancel-claim, cancel-work, claim, compact, finish, replay, stats, submit-work.
  • CLI output: work-queue Experimental: inspect and update a Git-backed work queue (listed under "Utilities").
  • Actual: every other top-level command has a gh aw <cmd> entry in cli.md; work-queue has none (neither its flags --branch, --claim-id, --work-id, --attempt-id, --run-id, --file).
  • Suggested fix: add a section (marked experimental) under "Utility Commands" covering the subcommands and flags.
Flag-naming inconsistencies

2. work-queue uses non-standard --repo / --json flags (low)

  • Quoted output:
    --json            Output JSON
    --repo string     GitHub repository owner/repo
    
  • Elsewhere (164 and 116 occurrences respectively): -j, --json Output results in JSON format and -r, --repo string Target repository ([HOST/]owner/repo format). Defaults to current repository.
  • Expected: short flags -j/-r and the standard description wording (or a documented reason for omitting GHES host support).
  • Suggested fix: align work-queue flag definitions with the shared helpers used by other commands.
Inspection metadata
  • Date: 2026-10-08; method: scripted comparison of all flags in per-command help files against cli.md, plus review of flag/description patterns (--engine, --repo, --json, --output).

Generated by ✅ CLI Consistency Checker · copilot · auto · 20 AIC · ⌖ 0.593 AIC · ⊞ 8.4K · ◷

  • expires on Oct 10, 2026, 5:34 AM UTC-08:00
主要语言
Go
星标
5.4k
派生
576
平均合并
8 小时 29 分钟
30 天内合并 PR
783

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/gh-aw 的其他 Issue

查看 github/gh-aw 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。