Permalink
Browse files

() updating docs and package information.

  • Loading branch information...
1 parent 48c974c commit 0cb6e820ed65295d45e35685994713f57556b04d Zach Poley committed Dec 22, 2010
Showing with 11 additions and 1 deletion.
  1. +5 −0 README.md
  2. +4 −0 man/json-command.1
  3. +2 −1 package.json
View
@@ -64,6 +64,11 @@ please note that the last two examples require you to enter your username and pa
-e "js expression" execute arbitrary js in the context of each object.
+ -i use node's sys.inspect instead of JSON.stringify.
+
+ -H print headers, if they are supplied. Useful for output from curl -i.
+
+
## Fields
any number of fields can be specified to be printed from each json object.
View
@@ -35,6 +35,10 @@ specify a conditional that determines whether an object is printed.
print the output fields as tab delimited columns in the order specified.
.IP "-e js expression"
execute arbitrary javascript within the context of each object.
+.IP "-i"
+use node's sys.inspect instead of JSON.stringify.
+.IP "-H"
+print headers, if they are supplied. Useful for output from curl -i.
\.".IP -k
\."print all keys of the first parsed object.
.SH FIELDS
View
@@ -1,8 +1,9 @@
{ "name": "json-command"
-, "version": "0.0.4"
+, "version": "0.0.5"
, "engines": [ "node >=0.2.0" ]
, "description": "JSON command line processing toolkit."
, "author": "Zachary Poley <zpoley@gmail.com> (http://zpoley.net)"
+, "contributors": [ "Isaac Schlueter <i@izs.me> (http://blog.izs.me)" ]
, "keywords" : [ "json", "command", "shell" ]
, "man" : "./man/json-command.1"
, "repository":

0 comments on commit 0cb6e82

Please sign in to comment.