Skip to content

feat(cli): add --json output for list and status commands #753

Closed

Description

@kjw3

Problem

Operational commands only emit human-formatted output. That makes automation, scripting, and debugging harder than necessary.

Scope

Add --json output to:

  • nemoclaw list
  • nemoclaw status
  • nemoclaw <name> status
  • nemoclaw <name> policy-list

Acceptance Criteria

  • Each command above accepts --json
  • JSON shape is documented and stable enough for scripting
  • Human-readable output remains the default
  • Tests validate JSON output shape and exit behavior

Context

This came out of a CLI review against https://clig.dev/. Structured output is the clearest machine-friendliness gap in the current CLI.

Activity

  1. self-assigned this
    on Mar 24, 2026
  2. added a commit that references this issue on Mar 25, 2026
    5d1e274
  3. added a commit that references this issue on Apr 4, 2026
    7d8f116
  4. wscurran commented on Apr 13, 2026

    @wscurran
    Contributor

    --json output was added for list, status, and policy-list commands (5d1e2745). Closing as implemented.

  5. added
    area: cliCommand line interface, flags, terminal UX, or output
    area: installInstall, setup, prerequisites, or uninstall flow
    area: onboardingOnboarding FSM, provider setup, sandbox launch, or first-run flow
    platform: dgx-sparkAffects DGX Spark hardware or workflows
    and removed on Jun 3, 2026
  6. added theissue type on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: cliCommand line interface, flags, terminal UX, or outputarea: installInstall, setup, prerequisites, or uninstall flowarea: onboardingOnboarding FSM, provider setup, sandbox launch, or first-run flowplatform: dgx-sparkAffects DGX Spark hardware or workflows

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions