Skip to content

Refactor CLI help copy to terse, period-less Codex-CLI style#154

Merged
alexkroman merged 2 commits into
mainfrom
claude/cli-help-text-refactor-3n3h04
Jun 13, 2026
Merged

Refactor CLI help copy to terse, period-less Codex-CLI style#154
alexkroman merged 2 commits into
mainfrom
claude/cli-help-text-refactor-3n3h04

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

Rewrites every user-facing help string to the convention the Codex CLI
uses: terse, imperative, sentence-case one-liners with no trailing
period. Genuinely multi-sentence help (e.g. "X. Default: Y.") keeps
normal punctuation.

  • Command summaries (root --help + each command's --help) tightened and
    de-periodised: e.g. "Transcribe a file, URL, or YouTube/podcast link —
    or a whole batch", "Hold a live two-way voice conversation with a voice
    agent", "Push-to-talk dictation: record the mic, get the transcript
    back".
  • ~180 option/argument help strings dropped their trailing period across
    every command, plus the shared option factories and root flags.
  • Only public command docstrings were touched (snapshot-covered);
    internal helper docstrings and CLIError messages are unchanged.
  • Regenerated the six --help snapshot goldens; updated two unit tests
    that pinned the old copy.
  • Added bare-invocation tests for sessions/transcripts/webhooks so the
    no_args_is_help=True flag (now sharing a changed line with the help
    string) stays covered by the mutation gate.
  • Recorded the help-copy convention in AGENTS.md.

https://claude.ai/code/session_0172UnMSRedHhDjc1MdKpig6

Rewrites every user-facing help string to the convention the Codex CLI
uses: terse, imperative, sentence-case one-liners with no trailing
period. Genuinely multi-sentence help (e.g. "X. Default: Y.") keeps
normal punctuation.

- Command summaries (root --help + each command's --help) tightened and
  de-periodised: e.g. "Transcribe a file, URL, or YouTube/podcast link —
  or a whole batch", "Hold a live two-way voice conversation with a voice
  agent", "Push-to-talk dictation: record the mic, get the transcript
  back".
- ~180 option/argument help strings dropped their trailing period across
  every command, plus the shared option factories and root flags.
- Only public command docstrings were touched (snapshot-covered);
  internal helper docstrings and CLIError messages are unchanged.
- Regenerated the six --help snapshot goldens; updated two unit tests
  that pinned the old copy.
- Added bare-invocation tests for sessions/transcripts/webhooks so the
  no_args_is_help=True flag (now sharing a changed line with the help
  string) stays covered by the mutation gate.
- Recorded the help-copy convention in AGENTS.md.

https://claude.ai/code/session_0172UnMSRedHhDjc1MdKpig6
@alexkroman alexkroman enabled auto-merge June 13, 2026 16:11
…refactor-3n3h04

# Conflicts:
#	aai_cli/commands/dub/__init__.py
#	aai_cli/commands/speak/__init__.py
#	tests/__snapshots__/test_snapshots_help_root.ambr
#	tests/__snapshots__/test_snapshots_help_run.ambr
@alexkroman alexkroman added this pull request to the merge queue Jun 13, 2026
Merged via the queue into main with commit 23a01e8 Jun 13, 2026
16 checks passed
@alexkroman alexkroman deleted the claude/cli-help-text-refactor-3n3h04 branch June 13, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants