mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
formatting
This commit is contained in:
30
README.md
30
README.md
@ -251,21 +251,21 @@ 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
|
||||||
| Short | Long | Description |
|
| Short | Long | Description |
|
||||||
|-------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------|
|
|-------|-----------------|---------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a` | `--about` | About `jc`. Prints information about `jc` and the parsers (in JSON or YAML, of course!) |
|
| `-a` | `--about` | About `jc`. Prints information about `jc` and the parsers (in JSON or YAML, of course!) |
|
||||||
| `-C` | `--force-color` | Force color output even when using pipes (overrides `-m` and the `NO_COLOR` env variable) |
|
| `-C` | `--force-color` | Force color output even when using pipes (overrides `-m` and the `NO_COLOR` env variable) |
|
||||||
| `-d` | `--debug` | Debug mode. Prints trace messages if parsing issues are encountered (use`-dd` for verbose debugging) |
|
| `-d` | `--debug` | Debug mode. Prints trace messages if parsing issues are encountered (use`-dd` for verbose debugging) |
|
||||||
| `-h` | `--help` | Help. Use `jc -h --parser_name` for parser documentation |
|
| `-h` | `--help` | Help. Use `jc -h --parser_name` for parser documentation |
|
||||||
| `-m` | `--monochrome` | Monochrome output |
|
| `-m` | `--monochrome` | Monochrome output |
|
||||||
| `-p` | `--pretty` | Pretty format the JSON output |
|
| `-p` | `--pretty` | Pretty format the JSON output |
|
||||||
| `-q` | `--quiet` | Quiet mode. Suppresses parser warning messages (use `-qq` to ignore streaming parser errors) |
|
| `-q` | `--quiet` | Quiet mode. Suppresses parser warning messages (use `-qq` to ignore streaming parser errors) |
|
||||||
| `-r` | `--raw` | Raw output. Provides more literal output, typically with string values and no additional semantic processing |
|
| `-r` | `--raw` | Raw output. Provides more literal output, typically with string values and no additional semantic processing |
|
||||||
| `-u` | `--unbuffer` | Unbuffer output |
|
| `-u` | `--unbuffer` | Unbuffer output |
|
||||||
| `-v` | `--version` | Version information |
|
| `-v` | `--version` | Version information |
|
||||||
| `-y` | `--yaml-out` | YAML output |
|
| `-y` | `--yaml-out` | YAML output |
|
||||||
| `-B` | `--bash-comp` | Generate Bash shell completion script (see this [wiki page](https://github.com/kellyjonbrazil/jc/wiki/Shell-Completions) for more info) |
|
| `-B` | `--bash-comp` | Generate Bash shell completion script ([more info](https://github.com/kellyjonbrazil/jc/wiki/Shell-Completions)) |
|
||||||
| `-Z` | `--zsh-comp` | Generate Zsh shell completion script (see this [wiki page](https://github.com/kellyjonbrazil/jc/wiki/Shell-Completions) for more info) |
|
| `-Z` | `--zsh-comp` | Generate Zsh shell completion script ([more info](https://github.com/kellyjonbrazil/jc/wiki/Shell-Completions)) |
|
||||||
|
|
||||||
### 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
|
||||||
|
@ -149,21 +149,21 @@ 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
|
||||||
| Short | Long | Description |
|
| Short | Long | Description |
|
||||||
|-------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------|
|
|-------|-----------------|---------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a` | `--about` | About `jc`. Prints information about `jc` and the parsers (in JSON or YAML, of course!) |
|
| `-a` | `--about` | About `jc`. Prints information about `jc` and the parsers (in JSON or YAML, of course!) |
|
||||||
| `-C` | `--force-color` | Force color output even when using pipes (overrides `-m` and the `NO_COLOR` env variable) |
|
| `-C` | `--force-color` | Force color output even when using pipes (overrides `-m` and the `NO_COLOR` env variable) |
|
||||||
| `-d` | `--debug` | Debug mode. Prints trace messages if parsing issues are encountered (use`-dd` for verbose debugging) |
|
| `-d` | `--debug` | Debug mode. Prints trace messages if parsing issues are encountered (use`-dd` for verbose debugging) |
|
||||||
| `-h` | `--help` | Help. Use `jc -h --parser_name` for parser documentation |
|
| `-h` | `--help` | Help. Use `jc -h --parser_name` for parser documentation |
|
||||||
| `-m` | `--monochrome` | Monochrome output |
|
| `-m` | `--monochrome` | Monochrome output |
|
||||||
| `-p` | `--pretty` | Pretty format the JSON output |
|
| `-p` | `--pretty` | Pretty format the JSON output |
|
||||||
| `-q` | `--quiet` | Quiet mode. Suppresses parser warning messages (use `-qq` to ignore streaming parser errors) |
|
| `-q` | `--quiet` | Quiet mode. Suppresses parser warning messages (use `-qq` to ignore streaming parser errors) |
|
||||||
| `-r` | `--raw` | Raw output. Provides more literal output, typically with string values and no additional semantic processing |
|
| `-r` | `--raw` | Raw output. Provides more literal output, typically with string values and no additional semantic processing |
|
||||||
| `-u` | `--unbuffer` | Unbuffer output |
|
| `-u` | `--unbuffer` | Unbuffer output |
|
||||||
| `-v` | `--version` | Version information |
|
| `-v` | `--version` | Version information |
|
||||||
| `-y` | `--yaml-out` | YAML output |
|
| `-y` | `--yaml-out` | YAML output |
|
||||||
| `-B` | `--bash-comp` | Generate Bash shell completion script (see this [wiki page](https://github.com/kellyjonbrazil/jc/wiki/Shell-Completions) for more info) |
|
| `-B` | `--bash-comp` | Generate Bash shell completion script ([more info](https://github.com/kellyjonbrazil/jc/wiki/Shell-Completions)) |
|
||||||
| `-Z` | `--zsh-comp` | Generate Zsh shell completion script (see this [wiki page](https://github.com/kellyjonbrazil/jc/wiki/Shell-Completions) for more info) |
|
| `-Z` | `--zsh-comp` | Generate Zsh shell completion script ([more info](https://github.com/kellyjonbrazil/jc/wiki/Shell-Completions)) |
|
||||||
|
|
||||||
### 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
|
||||||
|
Reference in New Issue
Block a user