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
Merged

feat: add catjson #517

merged 5 commits into from
Jun 22, 2019

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju 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
Copy link
Member Author

No idea, what happened to CI...

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool :)

@bartlomieju
Copy link
Member Author

Rebased on top of #518

@ry ry merged commit d99c154 into denoland:master Jun 22, 2019
@bartlomieju bartlomieju deleted the feat-add_catjson branch June 22, 2019 11:54
axetroy added a commit to axetroy/deno_std that referenced this pull request Jun 24, 2019
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
ry pushed a commit to ry/deno that referenced this pull request Oct 9, 2019
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.

None yet

2 participants