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

feature sugestion - write to stdout #7

Open
piotr-s-brainhub opened this issue Sep 15, 2016 · 2 comments
Open

feature sugestion - write to stdout #7

piotr-s-brainhub opened this issue Sep 15, 2016 · 2 comments

Comments

@piotr-s-brainhub
Copy link

It could work like jsonlint (https://github.com/zaach/jsonlint)
At least two options:

  • sort-json -i file.json - overwriting
  • sort-json -stdout file.json - writing to stdout (option for backward compatibility)
@kesla
Copy link
Owner

kesla commented Sep 16, 2016

pull requests accepted :)

@ashley-woodard
Copy link

Better yet, don't overwrite files by default.

Many folks would consider that a bug...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants