mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
update doco
This commit is contained in:
@ -18,6 +18,14 @@ $ ls -l /usr/bin | jc --ls | jq .[] | jq 'select(.bytes > 50000000)'
|
||||
}
|
||||
```
|
||||
|
||||
The `jc` parsers can also be used as python modules by referencing them via:
|
||||
```
|
||||
import jc.parsers.[parser]
|
||||
|
||||
data = 'data to parse'
|
||||
jc.parsers.[parser].parse(data)
|
||||
```
|
||||
|
||||
## Installation
|
||||
```
|
||||
$ pip3 install jc
|
||||
|
@ -1,5 +1,9 @@
|
||||
jc changelog
|
||||
|
||||
20191021 v0.6.1
|
||||
- Flatten netstat parser output
|
||||
- Clean up argument parsing
|
||||
|
||||
20191018 v0.5.5
|
||||
- Fix netstat -p parsing for Ubuntu
|
||||
- Add ps parser
|
||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open('README.md', 'r') as f:
|
||||
|
||||
setuptools.setup(
|
||||
name='jc',
|
||||
version='0.5.5',
|
||||
version='0.6.1',
|
||||
author='Kelly Brazil',
|
||||
author_email='kellyjonbrazil@gmail.com',
|
||||
description='This tool serializes the output of popular command line tools to structured JSON output.',
|
||||
|
Reference in New Issue
Block a user