Skip to content

fix(cli): add conventional command help - #202

Merged
KalebCole merged 2 commits into
mainfrom
fix/issue-200-command-help
Sep 5, 2026
Merged

KalebCole merged 2 commits into
mainfrom
fix/issue-200-command-help

Conversation

@KalebCole

Copy link
Copy Markdown
Owner

Problem

The native CLI has no conventional local help surface, making command discovery and mutation safety difficult without inspecting schemas or source.

Approach

  • Add root, command-group, and leaf-command help through -h, --help, and partiful help [command path].
  • Render command inventory, flags, required fields, examples, exit behavior, and safety semantics from the existing command definitions.
  • Document events create planning/apply semantics, including repeating the original payload with --apply --plan.

Tests

  • TDD regression tests cover root, group, leaf, short/long help, help <command>, every schema command, no-network behavior, and retained FLAG_UNKNOWN handling.
  • go test ./..., go test -race ./..., go vet ./..., go build ./..., and go mod verify pass locally.

Risk

Low: help is intercepted before auth/network and normal non-help validation remains unchanged.

Exclusions

No changes to command execution, authentication, remote API behavior, or mutation semantics.

Fixes #200

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 7d1d409c-a6ae-409d-a249-26027638e7b9


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-05 00:16 UTC

@KalebCole
KalebCole merged commit 9710245 into main Sep 5, 2026
3 checks passed
@KalebCole
KalebCole deleted the fix/issue-200-command-help branch November 14, 2026 22:35
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.

bug(cli): support conventional command-level --help

1 participant