mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Config: Make json.array default to "on"
- This makes the default "export" output work out of the box with most JSON parsing libraries.
This commit is contained in:
parent
e516f2bf65
commit
c1a0370daa
6 changed files with 14 additions and 7 deletions
|
@ -394,9 +394,12 @@ Enables or disables access to Taskwarrior internals and task metadata on the
|
|||
command line. Defaults to on.
|
||||
|
||||
.TP
|
||||
.B json.array=off
|
||||
Determines whether the query command encloses the JSON output in '[...]' to
|
||||
create a properly-formed JSON array. Defaults to off.
|
||||
.B json.array=on
|
||||
Determines whether the export command encloses the JSON output in '[...]' and
|
||||
adds ',' after each exported task object to create a properly-formed JSON
|
||||
array.
|
||||
With json.array=off, export writes raw JSON objects to STDOUT, one per line.
|
||||
Defaults to on.
|
||||
|
||||
.TP
|
||||
.B _forcecolor=no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue