Planning
Doing things later
Busy supports several specific commands related to planning -- that is, scheduling tasks for the future. They are done
, defer
, and activate
. The task-specific commands handle items in the plan
state and, in some cases, the done
state.
The task commands accept filters. The done
and defer
commands reference the todo
collection; the activate
command references the plan
collection. The default for done
and defer
is the top item in the collection; the default for activate
is to activate only plans deferred to today or earlier.
Planning by date
Planning is by date, not time, and is relative to the current date according to the system clock.
In the done
command, the date can be specified using the --defer
option (or by inputting a value after issuing the command). If the option is omitted, then the date can be provided as input during confirmation.
The date may take any of the following forms:
- A specific date in
YYYY-MM-DD
format, such as2018-10-28
. Slashes are also acceptable, but the order is always year, then month, then day. - A specific date without the year in
MM-DD
format, such as7-4
, which will defer the item to that date in the future (even if it's in the next year). - A specific day of the month as a simple integer, such as
12
, which will defer the item to that day of the month, in either the current month or the next month. - An integer, a space, and the word
day
ordays
, such as4 days
, which will defer the item to that number of days from today. - An integer without a space and the letter
d
, such as4d
, which is a short form of4 days
. - The word
tomorrow
, which is also the default if no date is provided. - The word
today
, which is useful for activating tasks later in the day.
As an example, the following command will defer tasks 4, 5, and 6 from the todo
collection to the date 4 days from today, keeping them in the plan
collection until that date.
busy defer 4-6 -t "4 days"
Note that the plan
collection keep the task information from the todo
collection along with the date information (as an absolute date).
To pull tasks from the plan
collection and put them back into the todo
collection, use the activate
command. There are two ways to use the activate
command:
- With no filter, in which case Busy activates all the tasks scheduled for today or earlier, bringing the
todo
list up to date - With designated items from the
plan
collection; note that theactivate
command accepts item designation from theplan
queue itself so usebusy list -s plan
first to get the right list.
Finishing and repeating
The done
command removes the designated Task (or the top task if none is designated) from the todo
state and adds it to the done
state, with today's date to indicate when it was completed.
Optionally, a task can have a repeat value by adding a right angle bracket a relative date phrase (same as with the defer
command).
check email > 1 day
phone mom > sunday
balance the checkbook > 6
The done
command uses the repeat value as the default for its iteration.
Ready to get Busy?
Go deep with BusyML.