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

version bump

This commit is contained in:
Kelly Brazil
2022-05-23 13:43:57 -07:00
parent 14093d9d43
commit c21c334b73
6 changed files with 19 additions and 9 deletions

View File

@ -248,8 +248,8 @@ option.
| ` --zipinfo` | `zipinfo` command parser | [📃](https://kellyjonbrazil.github.io/jc/docs/parsers/zipinfo) | | ` --zipinfo` | `zipinfo` command parser | [📃](https://kellyjonbrazil.github.io/jc/docs/parsers/zipinfo) |
### Options ### Options
- `-a` about `jc`. Prints information about `jc` and the parsers (in JSON, of - `-a` about `jc`. Prints information about `jc` and the parsers (in JSON or
course!) YAML, of course!)
- `-C` force color output even when using pipes (overrides `-m` and the - `-C` force color output even when using pipes (overrides `-m` and the
`NO_COLOR` env variable) `NO_COLOR` env variable)
- `-d` debug mode. Prints trace messages if parsing issues are encountered (use - `-d` debug mode. Prints trace messages if parsing issues are encountered (use
@ -263,6 +263,7 @@ option.
values and no additional semantic processing values and no additional semantic processing
- `-u` unbuffer output - `-u` unbuffer output
- `-v` version information - `-v` version information
- `-y` YAML output
### Exit Codes ### Exit Codes
Any fatal errors within `jc` will generate an exit code of `100`, otherwise the Any fatal errors within `jc` will generate an exit code of `100`, otherwise the

View File

@ -6,7 +6,7 @@ import importlib
from typing import Dict, List, Iterable, Union, Iterator from typing import Dict, List, Iterable, Union, Iterator
from jc import appdirs from jc import appdirs
__version__ = '1.19.0' __version__ = '1.20.0'
parsers = [ parsers = [
'acpi', 'acpi',

View File

@ -1,4 +1,4 @@
.TH jc 1 2022-05-13 1.19.0 "JSON Convert" .TH jc 1 2022-05-23 1.20.0 "JSON Convert"
.SH NAME .SH NAME
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools and file-types \fBjc\fP \- JSON Convert JSONifies the output of many CLI tools and file-types
.SH SYNOPSIS .SH SYNOPSIS
@ -527,7 +527,7 @@ Options:
.TP .TP
.B .B
\fB-a\fP \fB-a\fP
about \fBjc\fP (JSON output) about \fBjc\fP (JSON or YAML output)
.TP .TP
.B .B
\fB-C\fP \fB-C\fP
@ -564,6 +564,10 @@ unbuffer output (useful for slow streaming data with streaming parsers)
.B .B
\fB-v\fP \fB-v\fP
version information version information
.TP
.B
\fB-y\fP
YAML output
.SH EXIT CODES .SH EXIT CODES
Any fatal errors within \fBjc\fP will generate an exit code of \fB100\fP, otherwise the exit code will be \fB0\fP. When using the "Magic" syntax (e.g. \fBjc ifconfig eth0\fP), \fBjc\fP will store the exit code of the program being parsed and add it to the \fBjc\fP exit code. This way it is easier to determine if an error was from the parsed program or \fBjc\fP. Any fatal errors within \fBjc\fP will generate an exit code of \fB100\fP, otherwise the exit code will be \fB0\fP. When using the "Magic" syntax (e.g. \fBjc ifconfig eth0\fP), \fBjc\fP will store the exit code of the program being parsed and add it to the \fBjc\fP exit code. This way it is easier to determine if an error was from the parsed program or \fBjc\fP.

View File

@ -5,7 +5,7 @@ with open('README.md', 'r') as f:
setuptools.setup( setuptools.setup(
name='jc', name='jc',
version='1.19.0', version='1.20.0',
author='Kelly Brazil', author='Kelly Brazil',
author_email='kellyjonbrazil@gmail.com', author_email='kellyjonbrazil@gmail.com',
description='Converts the output of popular command-line tools and file-types to JSON.', description='Converts the output of popular command-line tools and file-types to JSON.',

View File

@ -32,7 +32,7 @@ Options:
.TP .TP
.B .B
\fB-a\fP \fB-a\fP
about \fBjc\fP (JSON output) about \fBjc\fP (JSON or YAML output)
.TP .TP
.B .B
\fB-C\fP \fB-C\fP
@ -69,6 +69,10 @@ unbuffer output (useful for slow streaming data with streaming parsers)
.B .B
\fB-v\fP \fB-v\fP
version information version information
.TP
.B
\fB-y\fP
YAML output
.SH EXIT CODES .SH EXIT CODES
Any fatal errors within \fBjc\fP will generate an exit code of \fB100\fP, otherwise the exit code will be \fB0\fP. When using the "Magic" syntax (e.g. \fBjc ifconfig eth0\fP), \fBjc\fP will store the exit code of the program being parsed and add it to the \fBjc\fP exit code. This way it is easier to determine if an error was from the parsed program or \fBjc\fP. Any fatal errors within \fBjc\fP will generate an exit code of \fB100\fP, otherwise the exit code will be \fB0\fP. When using the "Magic" syntax (e.g. \fBjc ifconfig eth0\fP), \fBjc\fP will store the exit code of the program being parsed and add it to the \fBjc\fP exit code. This way it is easier to determine if an error was from the parsed program or \fBjc\fP.

View File

@ -149,8 +149,8 @@ option.
| `{{ "{:>15}".format(parser.argument) }}` | {{ "{:<55}".format(parser.description) }} | {{ "{:<70}".format("[📃](https://kellyjonbrazil.github.io/jc/docs/parsers/" + parser.name + ")") }} |{% endfor %} | `{{ "{:>15}".format(parser.argument) }}` | {{ "{:<55}".format(parser.description) }} | {{ "{:<70}".format("[📃](https://kellyjonbrazil.github.io/jc/docs/parsers/" + parser.name + ")") }} |{% endfor %}
### Options ### Options
- `-a` about `jc`. Prints information about `jc` and the parsers (in JSON, of - `-a` about `jc`. Prints information about `jc` and the parsers (in JSON or
course!) YAML, of course!)
- `-C` force color output even when using pipes (overrides `-m` and the - `-C` force color output even when using pipes (overrides `-m` and the
`NO_COLOR` env variable) `NO_COLOR` env variable)
- `-d` debug mode. Prints trace messages if parsing issues are encountered (use - `-d` debug mode. Prints trace messages if parsing issues are encountered (use
@ -164,6 +164,7 @@ option.
values and no additional semantic processing values and no additional semantic processing
- `-u` unbuffer output - `-u` unbuffer output
- `-v` version information - `-v` version information
- `-y` YAML output
### Exit Codes ### Exit Codes
Any fatal errors within `jc` will generate an exit code of `100`, otherwise the Any fatal errors within `jc` will generate an exit code of `100`, otherwise the