Skip to content

feat: add --quiet flag to rafter agent init and install-hook #31

Description

@Rome-1

What

rafter agent init and rafter agent install-hook print progress messages to stdout, making them noisy in CI pipelines and agent automation. Add --quiet flag to suppress status messages.

Why

CI/CD scripts and AI agents that call these commands during setup don't need progress output. The --quiet flag pattern already exists on rafter agent scan and rafter scan local.

Files to change

  1. node/src/commands/agent/init.ts — add --quiet option, suppress status output when set
  2. node/src/commands/agent/install-hook.ts — same
  3. Python equivalents in python/rafter_cli/commands/agent.py
  4. Add tests verifying quiet mode produces no stdout output

Behavior

  • --quiet: suppress all progress/success messages. Only output on error (to stderr).
  • Exit codes remain unchanged (0 = success, 1 = error).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions