1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

update docs for shell builtins

This commit is contained in:
Kelly Brazil
2021-05-16 19:55:53 -07:00
parent 038d429024
commit 9996c4fe23
7 changed files with 10 additions and 10 deletions

View File

@ -732,7 +732,7 @@ dig -x 1.1.1.1 | jc --dig -p # or: jc -p dig -x 1.1.1.1
``` ```
### dir ### dir
```bash ```bash
dir | jc --dir -p # or: jc -p dir dir | jc --dir -p
``` ```
```json ```json
[ [
@ -1671,7 +1671,7 @@ iw dev wlan0 scan | jc --iw-scan -p # or: jc -p iw dev wlan0 scan
``` ```
### jobs ### jobs
```bash ```bash
jobs -l | jc --jobs -p # or: jc -p jobs jobs -l | jc --jobs -p
``` ```
```json ```json
[ [

View File

@ -5,6 +5,8 @@ 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. 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.
The "Magic" syntax is not supported since the `history` command is a shell builtin.
Usage (cli): Usage (cli):
$ history | jc --history $ history | jc --history

View File

@ -5,14 +5,12 @@ jc - JSON CLI output utility `jobs` command output parser
Also supports the `-l` option. Also supports the `-l` option.
The "Magic" syntax is not supported since the `jobs` command is a shell builtin.
Usage (cli): Usage (cli):
$ jobs | jc --jobs $ jobs | jc --jobs
or
$ jc jobs
Usage (module): Usage (module):
import jc.parsers.jobs import jc.parsers.jobs

Binary file not shown.

View File

@ -2,6 +2,8 @@
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. 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.
The "Magic" syntax is not supported since the `history` command is a shell builtin.
Usage (cli): Usage (cli):
$ history | jc --history $ history | jc --history

View File

@ -2,14 +2,12 @@
Also supports the `-l` option. Also supports the `-l` option.
The "Magic" syntax is not supported since the `jobs` command is a shell builtin.
Usage (cli): Usage (cli):
$ jobs | jc --jobs $ jobs | jc --jobs
or
$ jc jobs
Usage (module): Usage (module):
import jc.parsers.jobs import jc.parsers.jobs

Binary file not shown.