Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --json-style option for diff/show #70

Merged
merged 1 commit into from
May 5, 2020
Merged

Add --json-style option for diff/show #70

merged 1 commit into from
May 5, 2020

Conversation

craigds
Copy link
Member

@craigds craigds commented May 4, 2020

Works with --json and --geojson output.

Reduces size of patches by a lot:

$ sno show --json --json-style=extracompact | wc -c
2576

$ sno show --json --json-style=compact | wc -c
2811

$ sno show --json --json-style=pretty | wc -c
5405

The default is still pretty.

Works with `--json` and `--geojson` output.
@craigds craigds merged commit fa1a62e into master May 5, 2020
@craigds craigds deleted the json-style branch May 5, 2020 01:52
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.

2 participants