Skip to content

feat: CLI list commands default to summary JSON/YAML output#4006

Merged
forestileao merged 3 commits intosuperplanehq:mainfrom
Vukotije:feat/cli-json-yaml-output-summary
Apr 7, 2026
Merged

feat: CLI list commands default to summary JSON/YAML output#4006
forestileao merged 3 commits intosuperplanehq:mainfrom
Vukotije:feat/cli-json-yaml-output-summary

Conversation

@Vukotije
Copy link
Copy Markdown
Collaborator

@Vukotije Vukotije commented Apr 7, 2026

Closes #3644

Summary

  • JSON/YAML output for list commands now renders summary fields only, matching what text mode shows
  • Added --full flag to opt in to the previous full API response output
  • Applied to: canvases list, events list, events list-executions, index integrations, index components, index triggers

CLI Output

Summary

Screenshot 2026-04-07 173413

Full

Screen.Recording.2026-04-07.173533.mp4

Test plan

  • canvases list -o json shows only id/name/createdAt
  • canvases list -o json --full shows full canvas with spec
  • events list -o json shows summary fields
  • events list-executions -o json shows summary fields
  • index integrations/components/triggers -o json shows name/label/description
  • All --full variants match previous output
  • Text output unchanged
  • make lint && make check.build.app passes

Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
@superplanehq-integration
Copy link
Copy Markdown

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes ~30s)
  • /sp stop - Stop a running machine (auto-executed on pr close)

@forestileao
Copy link
Copy Markdown
Collaborator

@Vukotije can you add tests for these?

@Vukotije
Copy link
Copy Markdown
Collaborator Author

Vukotije commented Apr 7, 2026

@forestileao added tests.

@forestileao forestileao merged commit ebde50e into superplanehq:main Apr 7, 2026
5 checks passed
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.

CLI: provide summary JSON output for list/monitoring commands by default

2 participants