1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-12-18 00:18:28 +02:00

add yaml file parser

This commit is contained in:
Kelly Brazil
2020-02-03 16:12:32 -08:00
parent 68f277bb20
commit db157b8ca7
2 changed files with 94 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ import jc.parsers.systemctl_luf
import jc.parsers.uname
import jc.parsers.uptime
import jc.parsers.w
import jc.parsers.yaml
parser_map = {
'--arp': jc.parsers.arp,
@@ -72,12 +73,13 @@ parser_map = {
'--systemctl-luf': jc.parsers.systemctl_luf,
'--uname': jc.parsers.uname,
'--uptime': jc.parsers.uptime,
'--w': jc.parsers.w
'--w': jc.parsers.w,
'--yaml': jc.parsers.yaml
}
class info():
version = '1.6.1'
version = '1.7.1'
description = 'jc cli output JSON conversion tool'
author = 'Kelly Brazil'
author_email = 'kellyjonbrazil@gmail.com'