2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "task"
|
|
|
|
tags: [ "Documentation", "data" ]
|
|
|
|
---
|
2020-01-02 00:04:35 +00:00
|
|
|
# Contexts
|
|
|
|
|
|
|
|
Set three contexts by their tags:
|
|
|
|
|
|
|
|
> task context define work +sa or +hr
|
|
|
|
|
|
|
|
> task context define study +ed or +void or +rat
|
|
|
|
|
|
|
|
> task context define home -sa -hr -ed -void -rat
|
|
|
|
|
|
|
|
Change to the first context.
|
|
|
|
|
|
|
|
> task context work
|
|
|
|
|
|
|
|
Then stop.
|
|
|
|
|
|
|
|
> task context none
|
|
|
|
|
|
|
|
# Review
|
|
|
|
|
|
|
|
View list of tasks completed in the last week:
|
|
|
|
|
|
|
|
> task end.after:today-1wk completed
|
|
|
|
|
|
|
|
# Timewarrior
|
|
|
|
|
|
|
|
> timew start ed 'learn timewarrior'
|
|
|
|
|
|
|
|
> timew stop
|
|
|
|
|
|
|
|
> timew summary
|
|
|
|
|
|
|
|
> timew tags
|
|
|
|
|
2020-02-23 13:18:57 +00:00
|
|
|
# User Defined Attributes
|
|
|
|
|
|
|
|
Make a UDA 'size'.
|
|
|
|
|
|
|
|
> task config uda.size.type string
|
|
|
|
|
|
|
|
> task config uda.size.label Size
|
|
|
|
|
|
|
|
> task config uda.size.values large,medium,small
|
|
|
|
|
|
|
|
> uda.size.default=medium
|
|
|
|
|