mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
doc update
This commit is contained in:
@ -70,7 +70,7 @@ values are converted, and, in some cases, additional semantic context fields are
|
|||||||
added.
|
added.
|
||||||
|
|
||||||
To access the raw, pre-processed JSON, use the `-r` cli option or the `raw=True`
|
To access the raw, pre-processed JSON, use the `-r` cli option or the `raw=True`
|
||||||
function parameter in `parse()`.
|
function parameter in `parse()` when using `jc` as a python library.
|
||||||
|
|
||||||
Schemas for each parser can be found at the documentation link beside each
|
Schemas for each parser can be found at the documentation link beside each
|
||||||
[**Parser**](#parsers) below.
|
[**Parser**](#parsers) below.
|
||||||
@ -139,11 +139,12 @@ echo STRING | jc [OPTIONS] PARSER
|
|||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, the "magic" syntax can be used by prepending `jc` to the command
|
Alternatively, the "magic" syntax can be used by prepending `jc` to the command
|
||||||
to be converted. Options can be passed to `jc` immediately before the command is
|
to be converted or in front of the absolute path for Proc files. Options can be
|
||||||
given. (Note: command aliases and shell builtins are not supported)
|
passed to `jc` immediately before the command or Proc file path is given.
|
||||||
|
(Note: command aliases and shell builtins are not supported)
|
||||||
```bash
|
```bash
|
||||||
jc [OPTIONS] COMMAND
|
jc [OPTIONS] COMMAND
|
||||||
jc [OPTIONS] /proc/<path-to-file>
|
jc [OPTIONS] /proc/<path-to-procfile>
|
||||||
```
|
```
|
||||||
|
|
||||||
The JSON output can be compact (default) or pretty formatted with the `-p`
|
The JSON output can be compact (default) or pretty formatted with the `-p`
|
||||||
|
@ -29,8 +29,8 @@ or
|
|||||||
|
|
||||||
Schema:
|
Schema:
|
||||||
|
|
||||||
"yes" and "no" values are converted to true/false. Integer conversions are
|
"yes" and "no" values are converted to `true`/`false`. Integer conversions
|
||||||
attempted. If you do not want this behavior, then use `--raw` (CLI) or
|
are attempted. If you do not want this behavior, then use `--raw` (cli) or
|
||||||
`raw=True` (module).
|
`raw=True` (module).
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -195,7 +195,7 @@ Usage:
|
|||||||
|
|
||||||
jc [OPTIONS] COMMAND
|
jc [OPTIONS] COMMAND
|
||||||
|
|
||||||
jc [OPTIONS] /proc/<path-to-file>
|
jc [OPTIONS] /proc/<path-to-procfile>
|
||||||
|
|
||||||
Parsers:
|
Parsers:
|
||||||
{parsers_string}
|
{parsers_string}
|
||||||
|
@ -24,8 +24,8 @@ or
|
|||||||
|
|
||||||
Schema:
|
Schema:
|
||||||
|
|
||||||
"yes" and "no" values are converted to true/false. Integer conversions are
|
"yes" and "no" values are converted to `true`/`false`. Integer conversions
|
||||||
attempted. If you do not want this behavior, then use `--raw` (CLI) or
|
are attempted. If you do not want this behavior, then use `--raw` (cli) or
|
||||||
`raw=True` (module).
|
`raw=True` (module).
|
||||||
|
|
||||||
{
|
{
|
||||||
|
2
man/jc.1
2
man/jc.1
@ -18,7 +18,7 @@ Magic syntax:
|
|||||||
.RS
|
.RS
|
||||||
\fBjc\fP [OPTIONS] COMMAND
|
\fBjc\fP [OPTIONS] COMMAND
|
||||||
|
|
||||||
\fBjc\fP [OPTIONS] /proc/<path-to-file>
|
\fBjc\fP [OPTIONS] /proc/<path-to-procfile>
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -18,7 +18,7 @@ Magic syntax:
|
|||||||
.RS
|
.RS
|
||||||
\fBjc\fP [OPTIONS] COMMAND
|
\fBjc\fP [OPTIONS] COMMAND
|
||||||
|
|
||||||
\fBjc\fP [OPTIONS] /proc/<path-to-file>
|
\fBjc\fP [OPTIONS] /proc/<path-to-procfile>
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -70,7 +70,7 @@ values are converted, and, in some cases, additional semantic context fields are
|
|||||||
added.
|
added.
|
||||||
|
|
||||||
To access the raw, pre-processed JSON, use the `-r` cli option or the `raw=True`
|
To access the raw, pre-processed JSON, use the `-r` cli option or the `raw=True`
|
||||||
function parameter in `parse()`.
|
function parameter in `parse()` when using `jc` as a python library.
|
||||||
|
|
||||||
Schemas for each parser can be found at the documentation link beside each
|
Schemas for each parser can be found at the documentation link beside each
|
||||||
[**Parser**](#parsers) below.
|
[**Parser**](#parsers) below.
|
||||||
@ -139,11 +139,12 @@ echo STRING | jc [OPTIONS] PARSER
|
|||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, the "magic" syntax can be used by prepending `jc` to the command
|
Alternatively, the "magic" syntax can be used by prepending `jc` to the command
|
||||||
to be converted. Options can be passed to `jc` immediately before the command is
|
to be converted or in front of the absolute path for Proc files. Options can be
|
||||||
given. (Note: command aliases and shell builtins are not supported)
|
passed to `jc` immediately before the command or Proc file path is given.
|
||||||
|
(Note: command aliases and shell builtins are not supported)
|
||||||
```bash
|
```bash
|
||||||
jc [OPTIONS] COMMAND
|
jc [OPTIONS] COMMAND
|
||||||
jc [OPTIONS] /proc/<path-to-file>
|
jc [OPTIONS] /proc/<path-to-procfile>
|
||||||
```
|
```
|
||||||
|
|
||||||
The JSON output can be compact (default) or pretty formatted with the `-p`
|
The JSON output can be compact (default) or pretty formatted with the `-p`
|
||||||
|
Reference in New Issue
Block a user