Skip to content

CLI format flag over 'pretty' option #1144

Description

@asonnenschein

Problem
The CLI does not currently support pretty printing JSON outputs from commands. This is annoying because JSON can be difficult to read when it's not pretty printed, and users will need to pipe CLI outputs to custom bash commands to pretty print their JSON. Supporting pretty print as an optional argument in the CLI will be a better UX.

Solution
Enhance the CLI with an optional argument to pretty print JSON outputs to stdout.

A/C

  • CLI supports a new optional argument to pretty print JSON outputs to stdout for all APIs.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions