1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-11 01:10:37 +02:00

add asciitable and asciitable-m parsers

This commit is contained in:
Kelly Brazil
2022-03-18 13:03:43 -07:00
parent c27bd5ff39
commit 4a3a4e10df

View File

@ -1,6 +1,4 @@
"""jc - JSON Convert """jc - JSON Convert lib module"""
JC lib module
"""
import sys import sys
import os import os
import re import re
@ -15,6 +13,8 @@ parsers = [
'airport', 'airport',
'airport-s', 'airport-s',
'arp', 'arp',
'asciitable',
'asciitable-m',
'blkid', 'blkid',
'cksum', 'cksum',
'crontab', 'crontab',
@ -280,7 +280,6 @@ def parser_info(parser_mod_name: str, documentation: bool = False) -> Dict:
""" """
# ensure parser_mod_name is a true module name and not a cli name # ensure parser_mod_name is a true module name and not a cli name
parser_mod_name = _cliname_to_modname(parser_mod_name) parser_mod_name = _cliname_to_modname(parser_mod_name)
parser_mod = _get_parser(parser_mod_name) parser_mod = _get_parser(parser_mod_name)
info_dict: Dict = {} info_dict: Dict = {}