mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
@ -20,7 +20,7 @@ For example:
|
|||||||
│ hi there │ abc def │ 3.14 │
|
│ hi there │ abc def │ 3.14 │
|
||||||
╘══════════╧═════════╧════════╛
|
╘══════════╧═════════╧════════╛
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
+-----------------------------+
|
+-----------------------------+
|
||||||
| foo bar baz |
|
| foo bar baz |
|
||||||
@ -29,30 +29,30 @@ For example:
|
|||||||
| hi there abc def 3.14 |
|
| hi there abc def 3.14 |
|
||||||
+-----------------------------+
|
+-----------------------------+
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
| foo | bar | baz |
|
| foo | bar | baz |
|
||||||
|----------|---------|--------|
|
|----------|---------|--------|
|
||||||
| good day | | 12345 |
|
| good day | | 12345 |
|
||||||
| hi there | abc def | 3.14 |
|
| hi there | abc def | 3.14 |
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
foo bar baz
|
foo bar baz
|
||||||
--------- -------- ------
|
--------- -------- ------
|
||||||
good day 12345
|
good day 12345
|
||||||
hi there abc def 3.14
|
hi there abc def 3.14
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
foo bar baz
|
foo bar baz
|
||||||
good day 12345
|
good day 12345
|
||||||
hi there abc def 3.14
|
hi there abc def 3.14
|
||||||
|
|
||||||
etc...
|
etc...
|
||||||
|
|
||||||
Headers (keys) are converted to snake-case. All values are returned as
|
Headers (keys) are converted to snake-case. All values are returned as
|
||||||
strings, except empty strings, which are converted to None/null.
|
strings, except empty strings, which are converted to None/null.
|
||||||
|
|
||||||
Usage (cli):
|
Usage (cli):
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ For example:
|
|||||||
╘══════════╧═════════╧════════╛
|
╘══════════╧═════════╧════════╛
|
||||||
|
|
||||||
Cells with multiple lines within rows will be joined with a newline
|
Cells with multiple lines within rows will be joined with a newline
|
||||||
character ('\n').
|
character ('\\n').
|
||||||
|
|
||||||
Headers (keys) are converted to snake-case and newlines between multi-line
|
Headers (keys) are converted to snake-case and newlines between multi-line
|
||||||
headers are joined with an underscore. All values are returned as strings,
|
headers are joined with an underscore. All values are returned as strings,
|
||||||
@ -62,7 +62,7 @@ Examples:
|
|||||||
> +==========+=========+========+' | jc --asciitable-m -p
|
> +==========+=========+========+' | jc --asciitable-m -p
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"foo": "good day\nmate",
|
"foo": "good day\\nmate",
|
||||||
"bar": "12345",
|
"bar": "12345",
|
||||||
"baz_buz": null
|
"baz_buz": null
|
||||||
},
|
},
|
||||||
@ -86,7 +86,7 @@ Examples:
|
|||||||
> ╘══════════╧═════════╧════════╛' | jc --asciitable-m -p
|
> ╘══════════╧═════════╧════════╛' | jc --asciitable-m -p
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"foo": "good day\nmate",
|
"foo": "good day\\nmate",
|
||||||
"bar": "12345",
|
"bar": "12345",
|
||||||
"baz_buz": null
|
"baz_buz": null
|
||||||
},
|
},
|
||||||
|
@ -15,7 +15,7 @@ For example:
|
|||||||
│ hi there │ abc def │ 3.14 │
|
│ hi there │ abc def │ 3.14 │
|
||||||
╘══════════╧═════════╧════════╛
|
╘══════════╧═════════╧════════╛
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
+-----------------------------+
|
+-----------------------------+
|
||||||
| foo bar baz |
|
| foo bar baz |
|
||||||
@ -24,30 +24,30 @@ For example:
|
|||||||
| hi there abc def 3.14 |
|
| hi there abc def 3.14 |
|
||||||
+-----------------------------+
|
+-----------------------------+
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
| foo | bar | baz |
|
| foo | bar | baz |
|
||||||
|----------|---------|--------|
|
|----------|---------|--------|
|
||||||
| good day | | 12345 |
|
| good day | | 12345 |
|
||||||
| hi there | abc def | 3.14 |
|
| hi there | abc def | 3.14 |
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
foo bar baz
|
foo bar baz
|
||||||
--------- -------- ------
|
--------- -------- ------
|
||||||
good day 12345
|
good day 12345
|
||||||
hi there abc def 3.14
|
hi there abc def 3.14
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
foo bar baz
|
foo bar baz
|
||||||
good day 12345
|
good day 12345
|
||||||
hi there abc def 3.14
|
hi there abc def 3.14
|
||||||
|
|
||||||
etc...
|
etc...
|
||||||
|
|
||||||
Headers (keys) are converted to snake-case. All values are returned as
|
Headers (keys) are converted to snake-case. All values are returned as
|
||||||
strings, except empty strings, which are converted to None/null.
|
strings, except empty strings, which are converted to None/null.
|
||||||
|
|
||||||
Usage (cli):
|
Usage (cli):
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ For example:
|
|||||||
╘══════════╧═════════╧════════╛
|
╘══════════╧═════════╧════════╛
|
||||||
|
|
||||||
Cells with multiple lines within rows will be joined with a newline
|
Cells with multiple lines within rows will be joined with a newline
|
||||||
character ('\n').
|
character ('\\n').
|
||||||
|
|
||||||
Headers (keys) are converted to snake-case and newlines between multi-line
|
Headers (keys) are converted to snake-case and newlines between multi-line
|
||||||
headers are joined with an underscore. All values are returned as strings,
|
headers are joined with an underscore. All values are returned as strings,
|
||||||
@ -57,7 +57,7 @@ Examples:
|
|||||||
> +==========+=========+========+' | jc --asciitable-m -p
|
> +==========+=========+========+' | jc --asciitable-m -p
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"foo": "good day\nmate",
|
"foo": "good day\\nmate",
|
||||||
"bar": "12345",
|
"bar": "12345",
|
||||||
"baz_buz": null
|
"baz_buz": null
|
||||||
},
|
},
|
||||||
@ -81,7 +81,7 @@ Examples:
|
|||||||
> ╘══════════╧═════════╧════════╛' | jc --asciitable-m -p
|
> ╘══════════╧═════════╧════════╛' | jc --asciitable-m -p
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"foo": "good day\nmate",
|
"foo": "good day\\nmate",
|
||||||
"bar": "12345",
|
"bar": "12345",
|
||||||
"baz_buz": null
|
"baz_buz": null
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user