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

feat: add catjson #517

Merged
merged 5 commits into from Jun 22, 2019

Conversation

2 participants
@bartlomieju
Copy link
Contributor

commented Jun 22, 2019

Prompted by @ry I ported https://github.com/soheilpro/catj

Install using deno install

$ deno install catjson https://deno.land/std/examples/catjson.ts --allow-read

Usage:

Usage: catjson [-h|--help] [file...]

Examples:

// print file:
   catjson file.json

// print multiple files:
   catjson file1.json file2.json

// print from stdin:
   cat file.json | catjson -

Example output:
Zrzut ekranu 2019-06-22 o 12 24 54

@bartlomieju

This comment has been minimized.

Copy link
Contributor Author

commented Jun 22, 2019

No idea, what happened to CI...

@ry

ry approved these changes Jun 22, 2019

Copy link
Contributor

left a comment

Cool :)

bartlomieju added some commits Jun 22, 2019

@bartlomieju bartlomieju force-pushed the bartlomieju:feat-add_catjson branch from e2f2ba2 to 57ae483 Jun 22, 2019

@bartlomieju

This comment has been minimized.

Copy link
Contributor Author

commented Jun 22, 2019

Rebased on top of #518

@ry ry merged commit d99c154 into denoland:master Jun 22, 2019

5 checks passed

denoland.deno_std Build #20190622.9 succeeded
Details
denoland.deno_std (Linux) Linux succeeded
Details
denoland.deno_std (Mac) Mac succeeded
Details
denoland.deno_std (Windows) Windows succeeded
Details
license/cla Contributor License Agreement is signed.
Details

@bartlomieju bartlomieju deleted the bartlomieju:feat-add_catjson branch Jun 22, 2019

axetroy added a commit to axetroy/deno_std that referenced this pull request Jun 24, 2019

remove from-stdin
add test case for reading code from stdin and format

update

update

update

update

update

update

update

update

update

update

update

update

update

update

update

improve installer (denoland#512)

- remove uninstall command
- add --reload to deno fetch - to ensure subsequent installation
  upgrades script and deps
- fix executable shebang
- fix prompt for subsequent installation
- support custom installation dir via -d/--dir flag

typo (denoland#515)

bundle/run handles Deno.args better. (denoland#514)

fix: pin eslint version for CI (denoland#518)

typescript-eslint/typescript-eslint#637

feat: add catjson example (denoland#517)

file server should order filenames (denoland#511)

update

update

update

update

update

update

update

update

update

update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.