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:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user