1
0
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:
Kelly Brazil
2020-04-09 07:31:21 -07:00
parent 9665f4ee84
commit 7f869b4b18
3 changed files with 9 additions and 11 deletions

View File

@ -1,5 +1,8 @@
jc changelog
20200409 v1.10.2
- Change colors to ansi and match jello colors
20200402 v1.10.1
- Code cleanup

View File

@ -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
}

View File

@ -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.',