mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1440: Implement "task import" from STDIN
- Read tasks from STDIN when no files are specified, or only "-" is specified.
This commit is contained in:
parent
3e043291f0
commit
a78c9a6eb8
14 changed files with 124 additions and 42 deletions
|
@ -345,13 +345,15 @@ In general, this is not the recommended method of modifying tasks, but is
|
|||
provided for exceptional circumstances. Use carefully.
|
||||
|
||||
.TP
|
||||
.B task import <file> [<file> ...]
|
||||
.B task import [<file> ...]
|
||||
Imports tasks in the JSON format. The standard task release comes with a few
|
||||
example scripts, such as:
|
||||
|
||||
import-todo.sh.pl
|
||||
import-yaml.pl
|
||||
|
||||
If no file or "-" is specified, import tasks from STDIN.
|
||||
|
||||
.TP
|
||||
.B task log <mods>
|
||||
Adds a new task that is already completed, to the task list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue