diff --git a/jc/parsers/arp.py b/jc/parsers/arp.py index 87960000..ae4a016c 100644 --- a/jc/parsers/arp.py +++ b/jc/parsers/arp.py @@ -98,6 +98,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'aix', 'freebsd', 'darwin'] + magic_commands = ['arp'] __version__ = info.version diff --git a/jc/parsers/crontab.py b/jc/parsers/crontab.py index 4336b0ef..8acfacb6 100644 --- a/jc/parsers/crontab.py +++ b/jc/parsers/crontab.py @@ -140,6 +140,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'aix', 'freebsd'] + magic_commands = ['crontab'] __version__ = info.version diff --git a/jc/parsers/df.py b/jc/parsers/df.py index 379b3cc4..6ca5ca32 100644 --- a/jc/parsers/df.py +++ b/jc/parsers/df.py @@ -80,6 +80,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin'] + magic_commands = ['df'] __version__ = info.version diff --git a/jc/parsers/dig.py b/jc/parsers/dig.py index b381483e..4b1a347a 100644 --- a/jc/parsers/dig.py +++ b/jc/parsers/dig.py @@ -331,6 +331,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'aix', 'freebsd', 'darwin'] + magic_commands = ['dig'] __version__ = info.version diff --git a/jc/parsers/du.py b/jc/parsers/du.py index c21eec8e..a9bb0285 100644 --- a/jc/parsers/du.py +++ b/jc/parsers/du.py @@ -81,6 +81,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'aix', 'freebsd'] + magic_commands = ['du'] __version__ = info.version diff --git a/jc/parsers/env.py b/jc/parsers/env.py index 86931c2e..2db52784 100644 --- a/jc/parsers/env.py +++ b/jc/parsers/env.py @@ -59,6 +59,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] + magic_commands = ['env'] __version__ = info.version diff --git a/jc/parsers/foo.py b/jc/parsers/foo.py index 983fe6d8..51170fb2 100644 --- a/jc/parsers/foo.py +++ b/jc/parsers/foo.py @@ -28,6 +28,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] + magic_commands = ['foo'] __version__ = info.version diff --git a/jc/parsers/free.py b/jc/parsers/free.py index 5deeb802..5eefe44a 100644 --- a/jc/parsers/free.py +++ b/jc/parsers/free.py @@ -60,6 +60,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['free'] __version__ = info.version diff --git a/jc/parsers/fstab.py b/jc/parsers/fstab.py index f8c79f2f..374cc883 100644 --- a/jc/parsers/fstab.py +++ b/jc/parsers/fstab.py @@ -77,6 +77,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['fstab'] __version__ = info.version diff --git a/jc/parsers/history.py b/jc/parsers/history.py index 09950578..5dba34a9 100644 --- a/jc/parsers/history.py +++ b/jc/parsers/history.py @@ -51,6 +51,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] + magic_commands = ['history'] __version__ = info.version diff --git a/jc/parsers/id.py b/jc/parsers/id.py index 42b7ff7c..a7aacf9f 100644 --- a/jc/parsers/id.py +++ b/jc/parsers/id.py @@ -78,6 +78,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'aix', 'freebsd'] + magic_commands = ['id'] __version__ = info.version diff --git a/jc/parsers/ifconfig.py b/jc/parsers/ifconfig.py index 633050ff..02173c8a 100644 --- a/jc/parsers/ifconfig.py +++ b/jc/parsers/ifconfig.py @@ -154,6 +154,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'aix', 'freebsd', 'darwin'] + magic_commands = ['ifconfig'] __version__ = info.version diff --git a/jc/parsers/iptables.py b/jc/parsers/iptables.py index 380ceb63..89ba2767 100644 --- a/jc/parsers/iptables.py +++ b/jc/parsers/iptables.py @@ -141,6 +141,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['iptables'] __version__ = info.version diff --git a/jc/parsers/jobs.py b/jc/parsers/jobs.py index 27760553..a717b000 100644 --- a/jc/parsers/jobs.py +++ b/jc/parsers/jobs.py @@ -84,6 +84,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] + magic_commands = ['jobs'] __version__ = info.version diff --git a/jc/parsers/ls.py b/jc/parsers/ls.py index 9b5485bf..e3430319 100644 --- a/jc/parsers/ls.py +++ b/jc/parsers/ls.py @@ -151,6 +151,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] + magic_commands = ['ls'] __version__ = info.version diff --git a/jc/parsers/lsblk.py b/jc/parsers/lsblk.py index 38bb6508..10ffb0b9 100644 --- a/jc/parsers/lsblk.py +++ b/jc/parsers/lsblk.py @@ -223,6 +223,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['lsblk'] __version__ = info.version diff --git a/jc/parsers/lsmod.py b/jc/parsers/lsmod.py index 9cbf0f62..512bbd52 100644 --- a/jc/parsers/lsmod.py +++ b/jc/parsers/lsmod.py @@ -114,6 +114,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['lsmod'] __version__ = info.version diff --git a/jc/parsers/lsof.py b/jc/parsers/lsof.py index 97a92fc3..c388f923 100644 --- a/jc/parsers/lsof.py +++ b/jc/parsers/lsof.py @@ -104,6 +104,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['lsof'] __version__ = info.version diff --git a/jc/parsers/mount.py b/jc/parsers/mount.py index e265b10e..32a16763 100644 --- a/jc/parsers/mount.py +++ b/jc/parsers/mount.py @@ -63,6 +63,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin'] + magic_commands = ['mount'] __version__ = info.version diff --git a/jc/parsers/netstat.py b/jc/parsers/netstat.py index a7bc00f8..622d09e6 100644 --- a/jc/parsers/netstat.py +++ b/jc/parsers/netstat.py @@ -320,6 +320,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['netstat'] __version__ = info.version diff --git a/jc/parsers/pip_list.py b/jc/parsers/pip_list.py index e7d1e96a..806006fa 100644 --- a/jc/parsers/pip_list.py +++ b/jc/parsers/pip_list.py @@ -39,6 +39,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] + magic_commands = ['pip list', 'pip3 list'] __version__ = info.version diff --git a/jc/parsers/pip_show.py b/jc/parsers/pip_show.py index 6d085832..ceeadc67 100644 --- a/jc/parsers/pip_show.py +++ b/jc/parsers/pip_show.py @@ -49,6 +49,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] + magic_commands = ['pip show', 'pip3 show'] __version__ = info.version diff --git a/jc/parsers/ps.py b/jc/parsers/ps.py index 05c8bfe7..5489c3c8 100644 --- a/jc/parsers/ps.py +++ b/jc/parsers/ps.py @@ -184,6 +184,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] + magic_commands = ['ps'] __version__ = info.version diff --git a/jc/parsers/route.py b/jc/parsers/route.py index 7921edd7..43ad8720 100644 --- a/jc/parsers/route.py +++ b/jc/parsers/route.py @@ -108,6 +108,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['route'] __version__ = info.version diff --git a/jc/parsers/ss.py b/jc/parsers/ss.py index 05a6e5df..974d4b24 100644 --- a/jc/parsers/ss.py +++ b/jc/parsers/ss.py @@ -258,6 +258,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['ss'] __version__ = info.version diff --git a/jc/parsers/stat.py b/jc/parsers/stat.py index 72283c3a..1c37f84a 100644 --- a/jc/parsers/stat.py +++ b/jc/parsers/stat.py @@ -111,6 +111,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['stat'] __version__ = info.version diff --git a/jc/parsers/systemctl.py b/jc/parsers/systemctl.py index d9cec6dd..0e68ccdf 100644 --- a/jc/parsers/systemctl.py +++ b/jc/parsers/systemctl.py @@ -47,6 +47,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['systemctl'] __version__ = info.version diff --git a/jc/parsers/systemctl_lj.py b/jc/parsers/systemctl_lj.py index fa2c1a68..685a4ef2 100644 --- a/jc/parsers/systemctl_lj.py +++ b/jc/parsers/systemctl_lj.py @@ -66,6 +66,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['systemctl list-jobs'] __version__ = info.version diff --git a/jc/parsers/systemctl_ls.py b/jc/parsers/systemctl_ls.py index ce01b91a..074cd628 100644 --- a/jc/parsers/systemctl_ls.py +++ b/jc/parsers/systemctl_ls.py @@ -41,6 +41,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['systemctl list-sockets'] __version__ = info.version diff --git a/jc/parsers/systemctl_luf.py b/jc/parsers/systemctl_luf.py index e169da5f..5b0f09e7 100644 --- a/jc/parsers/systemctl_luf.py +++ b/jc/parsers/systemctl_luf.py @@ -38,6 +38,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] + magic_commands = ['systemctl list-unit-files'] __version__ = info.version diff --git a/jc/parsers/uname.py b/jc/parsers/uname.py index 1c4a6876..a4983d09 100644 --- a/jc/parsers/uname.py +++ b/jc/parsers/uname.py @@ -37,6 +37,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin'] + magic_commands = ['uname'] __version__ = info.version diff --git a/jc/parsers/uptime.py b/jc/parsers/uptime.py index 61a05508..2454a314 100644 --- a/jc/parsers/uptime.py +++ b/jc/parsers/uptime.py @@ -41,6 +41,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] + magic_commands = ['uptime'] __version__ = info.version diff --git a/jc/parsers/w.py b/jc/parsers/w.py index 8bae56e7..77ad68cb 100644 --- a/jc/parsers/w.py +++ b/jc/parsers/w.py @@ -90,6 +90,7 @@ class info(): # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd'] + magic_commands = ['w'] __version__ = info.version