1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

add fstab parser

This commit is contained in:
Kelly Brazil
2019-11-15 09:22:07 -08:00
parent e75c819190
commit 6f67eecd5e
2 changed files with 108 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import jc.parsers.df
import jc.parsers.dig
import jc.parsers.env
import jc.parsers.free
import jc.parsers.fstab
import jc.parsers.history
import jc.parsers.hosts
import jc.parsers.ifconfig
@ -49,6 +50,7 @@ def helptext(message):
--dig dig parser
--env env parser
--free free parser
--fstab /etc/fstab parser
--history history parser
--hosts /etc/hosts file parser
--ifconfig iconfig parser
@ -113,6 +115,7 @@ def main():
'--dig': jc.parsers.dig.parse,
'--env': jc.parsers.env.parse,
'--free': jc.parsers.free.parse,
'--fstab': jc.parsers.fstab.parse,
'--history': jc.parsers.history.parse,
'--hosts': jc.parsers.hosts.parse,
'--ifconfig': jc.parsers.ifconfig.parse,