$ task A configuration file could not be found in ~
Would you like a sample /home/link/.taskrc created, so Taskwarrior can proceed? (yes/no) yes [task next] No matches.
添加任务
添加任务快速而不显眼。
1 2 3 4
$ task add Plant the wheat Created task 1.
运行 task 或者 task list 来显示即将来临的任务。
1 2 3 4 5 6 7
$ task list
ID Age Description Urg 1 8s Plant the wheat 0
1 task
让我们添加一些任务来完成这个示例。
1 2 3 4 5 6 7 8 9
$ task add Tend the wheat Created task 2. $ task add Cut the wheat Created task 3. $ task add Take the wheat to the mill to be ground into flour Created task 4. $ task add Bake a cake Created task 5.
再次运行 task 来查看列表。
1 2 3 4 5 6 7 8 9 10 11
[task next]
ID Age Description Urg 1 3min Plant the wheat 0 2 22s Tend the wheat 0 3 16s Cut the wheat 0 4 8s Take the wheat to the mill to be ground into flour 0 5 2s Bake a cake 0
# [Created by task 2.5.1 2/9/2017 16:39:14] # Taskwarrior program configuration file. # For more documentation, see http://taskwarrior.org or try 'man task', 'man task-color', # 'man task-sync' or 'man taskrc'
# Here is an example of entries that use the default, override and blank values # variable=foo -- By specifying a value, this overrides the default # variable= -- By specifying no value, this means no default # #variable=foo -- By commenting out the line, or deleting it, this uses the default
# Use the command 'task show' to see all defaults and overrides
$ task config displayweeknumber no Are you sure you want to add 'displayweeknumber' with a value of 'no'? (yes/no) yes Config file /home/link/.taskrc modified.