mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
adding README.md for jsontools
This commit is contained in:
parent
ffc17b6b4d
commit
3bae9dd2bf
1 changed files with 17 additions and 0 deletions
17
plugins/jsontools/README.md
Normal file
17
plugins/jsontools/README.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# jsontools
|
||||||
|
|
||||||
|
# Plugin name
|
||||||
|
|
||||||
|
A handy command line tool for dealing with json data.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# curl json data and pretty print the results
|
||||||
|
curl https://coderwall.com/bobwilliams.json | pp_json
|
||||||
|
|
||||||
|
# pretty print the contents of an existing json file
|
||||||
|
less data.json | pp_json
|
||||||
|
|
||||||
|
# json data directly from the command line
|
||||||
|
echo '{"b":2, "a":1}' | pp_json
|
Loading…
Reference in a new issue