1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00

add output info to docs

This commit is contained in:
Kelly Brazil
2020-08-06 07:48:08 -07:00
parent 59b1055808
commit 69e7a560fd
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@
# jc.parsers.env
jc - JSON CLI output utility `env` command output parser
This parser will output a list of dictionaries each containing `name` and `value` keys. If you would like a simple dictionary output, then use the `-r` command-line option or the `raw=True` argument in the `parse()` function.
Usage (cli):
$ env | jc --env
+2
View File
@@ -2,6 +2,8 @@
# jc.parsers.history
jc - JSON CLI output utility `history` command output parser
This parser will output a list of dictionaries each containing `line` and `command` keys. If you would like a simple dictionary output, then use the `-r` command-line option or the `raw=True` argument in the `parse()` function.
Usage (cli):
$ history | jc --history
+2
View File
@@ -1,5 +1,7 @@
"""jc - JSON CLI output utility `env` command output parser
This parser will output a list of dictionaries each containing `name` and `value` keys. If you would like a simple dictionary output, then use the `-r` command-line option or the `raw=True` argument in the `parse()` function.
Usage (cli):
$ env | jc --env
+2
View File
@@ -1,5 +1,7 @@
"""jc - JSON CLI output utility `history` command output parser
This parser will output a list of dictionaries each containing `line` and `command` keys. If you would like a simple dictionary output, then use the `-r` command-line option or the `raw=True` argument in the `parse()` function.
Usage (cli):
$ history | jc --history