mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Add-ons
- Suppressed output using rc.verbose=nothing. - Removed [...] from output with rc.json.array=no.
This commit is contained in:
parent
d60af770a3
commit
40f2afeb8e
9 changed files with 9 additions and 9 deletions
|
@ -30,7 +30,7 @@ require 'rubygems'
|
|||
require 'json'
|
||||
|
||||
# Use the taskwarrior 2.0+ export command to filter and return JSON
|
||||
lines = IO.popen("/usr/local/bin/task export " + ARGV.join(" ")).readlines
|
||||
lines = IO.popen("/usr/local/bin/task rc.verbose=nothing rc.json.array=no export " + ARGV.join(" ")).readlines
|
||||
|
||||
# Generate output.
|
||||
print "<tasks>\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue