Skip to content

feat(cli): add command help and read-only MCP registration checks #91

Closed

Description

@abruption

Goal

Add command-specific help and an MCP registration check, following Aptly's CLI patterns. Rebut 0.4.1 rejects setup --help and doctor --help; profile list --help can initialize SQLite before rejecting the flag. The current doctor does not distinguish a missing host registration from a stale launcher.

Scope

  • Handle rebut help COMMAND and COMMAND --help before settings, credential, database or network access. Include nested CLI commands.
  • Add rebut setup --check --client codex|claude, with the existing explicit host configuration selectors. Inspect the selected registration and classify missing, current, different, custom and broken local launchers without changing host files or starting MCP. State the scope of the snapshot.
  • Document the commands in English, Korean, Japanese and Simplified Chinese.

Acceptance criteria

  • Help succeeds with broken application settings and absent local state. Existing command inputs, including literal values after --, continue to work.
  • Registration checks avoid DB initialization, credential reads and provider/Worker calls. Verify both host formats and bounded, safe error output.
  • Complete independent review before opening a Draft PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions