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

version bump to 1.9.1

This commit is contained in:
Kelly Brazil
2020-03-12 08:17:28 -07:00
parent cb5c1ba00d
commit c29e7cfe5c
4 changed files with 9 additions and 6 deletions

View File

@ -170,7 +170,7 @@ Tested on:
## Examples ## Examples
### airport -I ### airport -I
``` ```
$ airport -I | jc --airport -p $ airport -I | jc --airport -p # or: jc -p airport -I
{ {
"agrctlrssi": -66, "agrctlrssi": -66,
"agrextrssi": 0, "agrextrssi": 0,
@ -191,7 +191,7 @@ $ airport -I | jc --airport -p
``` ```
### airport -s ### airport -s
``` ```
$ airport -s | jc --airport-s -p $ airport -s | jc --airport-s -p # or: jc -p airport -s
[ [
{ {
"ssid": "DIRECT-4A-HP OfficeJet 3830", "ssid": "DIRECT-4A-HP OfficeJet 3830",
@ -764,7 +764,7 @@ $ env | jc --env -p # or: jc -p env
``` ```
### file ### file
``` ```
$ file * | jc --file -p $ file * | jc --file -p # or: jc -p file *
[ [
{ {
"filename": "Applications", "filename": "Applications",
@ -2127,7 +2127,7 @@ $ systemctl list-unit-files | jc --systemctl-luf -p # or: jc -p system
``` ```
### timedatectl status ### timedatectl status
``` ```
$ timedatectl | jc --timedatectl -p $ timedatectl | jc --timedatectl -p # or: jc -p timedatectl
{ {
"local_time": "Tue 2020-03-10 17:53:21 PDT", "local_time": "Tue 2020-03-10 17:53:21 PDT",
"universal_time": "Wed 2020-03-11 00:53:21 UTC", "universal_time": "Wed 2020-03-11 00:53:21 UTC",

View File

@ -1,5 +1,8 @@
jc changelog jc changelog
20200311 v1.9.1
- Updated file command parser to make filename splitting more robust
20200311 v1.9.0 20200311 v1.9.0
- Added ntpq command parser - Added ntpq command parser
- Added timedatectl status command parser - Added timedatectl status command parser

View File

@ -13,7 +13,7 @@ import jc.utils
class info(): class info():
version = '1.9.0' version = '1.9.1'
description = 'jc cli output JSON conversion tool' description = 'jc cli output JSON conversion tool'
author = 'Kelly Brazil' author = 'Kelly Brazil'
author_email = 'kellyjonbrazil@gmail.com' author_email = 'kellyjonbrazil@gmail.com'

View File

@ -5,7 +5,7 @@ with open('README.md', 'r') as f:
setuptools.setup( setuptools.setup(
name='jc', name='jc',
version='1.9.0', version='1.9.1',
author='Kelly Brazil', author='Kelly Brazil',
author_email='kellyjonbrazil@gmail.com', author_email='kellyjonbrazil@gmail.com',
description='This tool serializes the output of popular command line tools and filetypes to structured JSON output.', description='This tool serializes the output of popular command line tools and filetypes to structured JSON output.',