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

add more slurpable parsers

This commit is contained in:
Kelly Brazil
2024-01-04 10:40:06 -08:00
parent 3b0594a4a6
commit c2b2e81a2b
4 changed files with 7 additions and 7 deletions

View File

@ -112,7 +112,7 @@ class info():
author_email = 'kellyjonbrazil@gmail.com'
compatible = ['linux', 'darwin', 'aix', 'freebsd']
magic_commands = ['id']
tags = ['command']
tags = ['command', 'slurpable']
__version__ = info.version

View File

@ -42,13 +42,13 @@ import jc.utils
class info():
"""Provides parser metadata (version, author, etc.)"""
version = '1.1'
version = '1.2'
description = '`os-prober` command parser'
author = 'Kelly Brazil'
author_email = 'kellyjonbrazil@gmail.com'
compatible = ['linux']
magic_commands = ['os-prober']
tags = ['command']
tags = ['command', 'slurpable']
__version__ = info.version

View File

@ -48,13 +48,13 @@ from jc.exceptions import ParseError
class info():
"""Provides parser metadata (version, author, etc.)"""
version = '1.7'
version = '1.8'
description = '`uname -a` command parser'
author = 'Kelly Brazil'
author_email = 'kellyjonbrazil@gmail.com'
compatible = ['linux', 'darwin', 'freebsd']
magic_commands = ['uname']
tags = ['command']
tags = ['command', 'slurpable']
__version__ = info.version

View File

@ -65,13 +65,13 @@ import jc.utils
class info():
"""Provides parser metadata (version, author, etc.)"""
version = '1.7'
version = '1.8'
description = '`uptime` command parser'
author = 'Kelly Brazil'
author_email = 'kellyjonbrazil@gmail.com'
compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']
magic_commands = ['uptime']
tags = ['command']
tags = ['command', 'slurpable']
__version__ = info.version