Skip to content

add --pp-json - --json with pretty print #251

@yarikoptic

Description

@yarikoptic

it is frequent desire to use/see produced .json by a human. ATM it requires additional piping through jq or alike.

I think it might be beneficial, especially for use with --outfile to have --pp-json mode.

But I am about to suggest one more mode ( ;) ) so I wonder if it should altogether RFed into -f|--output-format text| json| json_pp to

  • facilitate possible expansion if needed
  • might be cleaner in the code internally ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions