mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
change colors to ansi and match jello style
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
jc changelog
|
||||
|
||||
20200409 v1.10.2
|
||||
- Change colors to ansi and match jello colors
|
||||
|
||||
20200402 v1.10.1
|
||||
- Code cleanup
|
||||
|
||||
|
15
jc/cli.py
15
jc/cli.py
@ -18,7 +18,7 @@ import jc.utils
|
||||
|
||||
|
||||
class info():
|
||||
version = '1.10.1'
|
||||
version = '1.10.2'
|
||||
description = 'jc cli output JSON conversion tool'
|
||||
author = 'Kelly Brazil'
|
||||
author_email = 'kellyjonbrazil@gmail.com'
|
||||
@ -81,16 +81,11 @@ parsers = [
|
||||
|
||||
|
||||
class JcStyle(Style):
|
||||
BLUE = '#2c5dcd'
|
||||
GRAY = '#4d4d4d'
|
||||
PURPLE = '#5918bb'
|
||||
GREEN = '#00cc00'
|
||||
|
||||
styles = {
|
||||
Name.Tag: f'bold {BLUE}', # key names
|
||||
Keyword: GRAY, # true, false, null
|
||||
Number: PURPLE, # int, float
|
||||
String: GREEN # string
|
||||
Name.Tag: 'bold ansiblue', # key names
|
||||
Keyword: 'ansibrightblack', # true, false, null
|
||||
Number: 'ansimagenta', # int, float
|
||||
String: 'ansigreen' # string
|
||||
}
|
||||
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open('README.md', 'r') as f:
|
||||
|
||||
setuptools.setup(
|
||||
name='jc',
|
||||
version='1.10.1',
|
||||
version='1.10.2',
|
||||
author='Kelly Brazil',
|
||||
author_email='kellyjonbrazil@gmail.com',
|
||||
description='This tool serializes the output of popular command line tools and filetypes to structured JSON output.',
|
||||
|
Reference in New Issue
Block a user