diff --git a/docs/parsers/arp.md b/docs/parsers/arp.md index 2b37709d..da43c8c0 100644 --- a/docs/parsers/arp.md +++ b/docs/parsers/arp.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility arp Parser Usage: specify --arp as the first argument if the piped input is coming from arp +Compatibility: + 'linux', 'aix', 'freebsd', 'darwin' + Examples: $ arp | jc --arp -p diff --git a/docs/parsers/df.md b/docs/parsers/df.md index 850b3e81..a8b58608 100644 --- a/docs/parsers/df.md +++ b/docs/parsers/df.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility df Parser Usage: specify --df as the first argument if the piped input is coming from df +Compatibility: + 'linux', 'darwin' + Examples: $ df | jc --df -p diff --git a/docs/parsers/dig.md b/docs/parsers/dig.md index cb2e7e07..ee1990d1 100644 --- a/docs/parsers/dig.md +++ b/docs/parsers/dig.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility dig Parser Usage: Specify --dig as the first argument if the piped input is coming from dig +Compatibility: + 'linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd' + Examples: $ dig cnn.com www.cnn.com @205.251.194.64 | jc --dig -p diff --git a/docs/parsers/env.md b/docs/parsers/env.md index 2c0f781c..b2e05478 100644 --- a/docs/parsers/env.md +++ b/docs/parsers/env.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility env Parser Usage: specify --env as the first argument if the piped input is coming from env +Compatibility: + 'linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd' + Examples: $ env | jc --env -p diff --git a/docs/parsers/free.md b/docs/parsers/free.md index 6d3a3f6a..41ddf869 100644 --- a/docs/parsers/free.md +++ b/docs/parsers/free.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility free Parser Usage: specify --free as the first argument if the piped input is coming from free +Compatibility: + 'linux' + Examples: $ free | jc --free -p diff --git a/docs/parsers/fstab.md b/docs/parsers/fstab.md index 1a874dcd..dd2893bd 100644 --- a/docs/parsers/fstab.md +++ b/docs/parsers/fstab.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility fstab Parser Usage: specify --fstab as the first argument if the piped input is coming from a fstab file +Compatibility: + 'linux' + Examples: $ cat /etc/fstab | jc --fstab -p diff --git a/docs/parsers/history.md b/docs/parsers/history.md index 9cea8820..4db5ce82 100644 --- a/docs/parsers/history.md +++ b/docs/parsers/history.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility history Parser Usage: specify --history as the first argument if the piped input is coming from history +Compatibility: + 'linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd' + Examples: $ history | jc --history -p diff --git a/docs/parsers/hosts.md b/docs/parsers/hosts.md index d8df7e16..f538930c 100644 --- a/docs/parsers/hosts.md +++ b/docs/parsers/hosts.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility hosts Parser Usage: specify --hosts as the first argument if the piped input is coming from a hosts file +Compatibility: + 'linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd' + Examples: $ cat /etc/hosts | jc --hosts -p diff --git a/docs/parsers/ifconfig.md b/docs/parsers/ifconfig.md index da1b987a..fb98830d 100644 --- a/docs/parsers/ifconfig.md +++ b/docs/parsers/ifconfig.md @@ -6,6 +6,9 @@ Usage: no ifconfig options are supported. +Compatibility: + 'linux', 'aix', 'freebsd', 'darwin' + Examples: $ ifconfig | jc --ifconfig -p diff --git a/docs/parsers/iptables.md b/docs/parsers/iptables.md index f6d68c5d..ab1bab93 100644 --- a/docs/parsers/iptables.md +++ b/docs/parsers/iptables.md @@ -6,6 +6,9 @@ Usage: Supports -vLn and --line-numbers for all tables +Compatibility: + 'linux' + Examples: $ sudo iptables --line-numbers -v -L -t nat | jc --iptables -p diff --git a/docs/parsers/jobs.md b/docs/parsers/jobs.md index b798ed67..e8e7efa1 100644 --- a/docs/parsers/jobs.md +++ b/docs/parsers/jobs.md @@ -6,6 +6,9 @@ Usage: Also supports the -l option +Compatibility: + 'linux', 'darwin', 'cygwin', 'aix', 'freebsd' + Example: $ jobs -l | jc --jobs -p diff --git a/docs/parsers/ls.md b/docs/parsers/ls.md index 17796e2c..14a40ebd 100644 --- a/docs/parsers/ls.md +++ b/docs/parsers/ls.md @@ -11,6 +11,9 @@ Usage: with human readable suffixes will be converted to Null in default view since the parser attempts to convert this field to an integer. +Compatibility: + 'linux', 'darwin', 'cygwin', 'aix', 'freebsd' + Examples: $ ls /usr/bin | jc --ls -p diff --git a/docs/parsers/lsblk.md b/docs/parsers/lsblk.md index b413e922..bc085dba 100644 --- a/docs/parsers/lsblk.md +++ b/docs/parsers/lsblk.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility lsblk Parser Usage: specify --lsblk as the first argument if the piped input is coming from lsblk +Compatibility: + 'linux' + Examples: $ lsblk | jc --lsblk -p diff --git a/docs/parsers/lsmod.md b/docs/parsers/lsmod.md index 95063265..4a139301 100644 --- a/docs/parsers/lsmod.md +++ b/docs/parsers/lsmod.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility lsmod Parser Usage: specify --lsmod as the first argument if the piped input is coming from lsmod +Compatibility: + 'linux' + Examples: $ lsmod | jc --lsmod -p diff --git a/docs/parsers/lsof.md b/docs/parsers/lsof.md index 2798327d..8f2b58af 100644 --- a/docs/parsers/lsof.md +++ b/docs/parsers/lsof.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility lsof Parser Usage: specify --lsof as the first argument if the piped input is coming from lsof +Compatibility: + 'linux' + Examples: $ sudo lsof | jc --lsof -p diff --git a/docs/parsers/mount.md b/docs/parsers/mount.md index 9c0c8033..8d23c815 100644 --- a/docs/parsers/mount.md +++ b/docs/parsers/mount.md @@ -4,6 +4,9 @@ jc - JSON CLI output utility mount Parser Usage: specify --mount as the first argument if the piped input is coming from mount +Compatibility: + 'linux' + Example: $ mount | jc --mount -p diff --git a/jc/parsers/env.py b/jc/parsers/env.py index 89873e8b..9c4bbb06 100644 --- a/jc/parsers/env.py +++ b/jc/parsers/env.py @@ -3,6 +3,9 @@ Usage: specify --env as the first argument if the piped input is coming from env +Compatibility: + 'linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd' + Examples: $ env | jc --env -p diff --git a/jc/parsers/foo.py b/jc/parsers/foo.py index 4934b8d9..b7d9e4ef 100644 --- a/jc/parsers/foo.py +++ b/jc/parsers/foo.py @@ -3,6 +3,9 @@ Usage: specify --foo as the first argument if the piped input is coming from foo +Compatibility: + 'linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd' + Examples: $ foo | jc --foo -p diff --git a/jc/parsers/free.py b/jc/parsers/free.py index ea509019..2e9ce861 100644 --- a/jc/parsers/free.py +++ b/jc/parsers/free.py @@ -3,6 +3,9 @@ Usage: specify --free as the first argument if the piped input is coming from free +Compatibility: + 'linux' + Examples: $ free | jc --free -p diff --git a/jc/parsers/fstab.py b/jc/parsers/fstab.py index 904c42a3..8c7fe4bb 100644 --- a/jc/parsers/fstab.py +++ b/jc/parsers/fstab.py @@ -3,6 +3,9 @@ Usage: specify --fstab as the first argument if the piped input is coming from a fstab file +Compatibility: + 'linux' + Examples: $ cat /etc/fstab | jc --fstab -p diff --git a/jc/parsers/history.py b/jc/parsers/history.py index b7f28743..f4dbfc1d 100644 --- a/jc/parsers/history.py +++ b/jc/parsers/history.py @@ -3,6 +3,9 @@ Usage: specify --history as the first argument if the piped input is coming from history +Compatibility: + 'linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd' + Examples: $ history | jc --history -p diff --git a/jc/parsers/hosts.py b/jc/parsers/hosts.py index 919ee0a6..b70c19eb 100644 --- a/jc/parsers/hosts.py +++ b/jc/parsers/hosts.py @@ -3,6 +3,9 @@ Usage: specify --hosts as the first argument if the piped input is coming from a hosts file +Compatibility: + 'linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd' + Examples: $ cat /etc/hosts | jc --hosts -p diff --git a/jc/parsers/ifconfig.py b/jc/parsers/ifconfig.py index 74089347..b4e9b675 100644 --- a/jc/parsers/ifconfig.py +++ b/jc/parsers/ifconfig.py @@ -5,6 +5,9 @@ Usage: no ifconfig options are supported. +Compatibility: + 'linux', 'aix', 'freebsd', 'darwin' + Examples: $ ifconfig | jc --ifconfig -p diff --git a/jc/parsers/iptables.py b/jc/parsers/iptables.py index bba207d6..52534395 100644 --- a/jc/parsers/iptables.py +++ b/jc/parsers/iptables.py @@ -5,6 +5,9 @@ Usage: Supports -vLn and --line-numbers for all tables +Compatibility: + 'linux' + Examples: $ sudo iptables --line-numbers -v -L -t nat | jc --iptables -p @@ -139,7 +142,7 @@ def process(proc_data): Returns: dictionary structured data with the following schema: - + [ { "chain": string, diff --git a/jc/parsers/jobs.py b/jc/parsers/jobs.py index 0dff592c..877fd36f 100644 --- a/jc/parsers/jobs.py +++ b/jc/parsers/jobs.py @@ -5,6 +5,9 @@ Usage: Also supports the -l option +Compatibility: + 'linux', 'darwin', 'cygwin', 'aix', 'freebsd' + Example: $ jobs -l | jc --jobs -p diff --git a/jc/parsers/ls.py b/jc/parsers/ls.py index 1d40e1fd..48b9736b 100644 --- a/jc/parsers/ls.py +++ b/jc/parsers/ls.py @@ -10,6 +10,9 @@ Usage: with human readable suffixes will be converted to Null in default view since the parser attempts to convert this field to an integer. +Compatibility: + 'linux', 'darwin', 'cygwin', 'aix', 'freebsd' + Examples: $ ls /usr/bin | jc --ls -p diff --git a/jc/parsers/lsblk.py b/jc/parsers/lsblk.py index e0de3efe..9a9ff95b 100644 --- a/jc/parsers/lsblk.py +++ b/jc/parsers/lsblk.py @@ -3,6 +3,9 @@ Usage: specify --lsblk as the first argument if the piped input is coming from lsblk +Compatibility: + 'linux' + Examples: $ lsblk | jc --lsblk -p diff --git a/jc/parsers/lsmod.py b/jc/parsers/lsmod.py index 169523c7..c1e2d468 100644 --- a/jc/parsers/lsmod.py +++ b/jc/parsers/lsmod.py @@ -3,6 +3,9 @@ Usage: specify --lsmod as the first argument if the piped input is coming from lsmod +Compatibility: + 'linux' + Examples: $ lsmod | jc --lsmod -p diff --git a/jc/parsers/lsof.py b/jc/parsers/lsof.py index b92f8c28..6a3ad4bc 100644 --- a/jc/parsers/lsof.py +++ b/jc/parsers/lsof.py @@ -3,6 +3,9 @@ Usage: specify --lsof as the first argument if the piped input is coming from lsof +Compatibility: + 'linux' + Examples: $ sudo lsof | jc --lsof -p diff --git a/jc/parsers/mount.py b/jc/parsers/mount.py index ca373fb6..66d2c490 100644 --- a/jc/parsers/mount.py +++ b/jc/parsers/mount.py @@ -3,6 +3,9 @@ Usage: specify --mount as the first argument if the piped input is coming from mount +Compatibility: + 'linux' + Example: $ mount | jc --mount -p