ttd: Draft a Tracked Task

Description Usage Arguments Examples

Description

Use the syntax of the tt() function without actually committing the task. This is useful for practicing the shorthand of entering a tracked task since the tracked-time event is echoed to the console.

Usage

1
2
ttd(..., task = NULL, s = NULL, e = NULL, lbl = NULL, proj = NULL,
  info = NULL)

Arguments

...

a string that allows for a shorthand means to track time for some task.

task

the task description.

s

the start time for the task. Must be in the ISO date/time format of YYYY-MM-DD HH:MM.

e

the end time for the task. Must be in the ISO date/time format of YYYY-MM-DD HH:MM.

lbl

a label to use for the event.

proj

project information for the event.

info

information pertaining to the event.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Draft a tracked task using `ttd()`; it won't
# be committed to the ttt_dir but information
# on the tracked task will be echoed back--this
# is useful for ensuring that the information
# is correct before using `tt()`
ttd(
  task = "Description of the task",
  s = "2018-05-24 11:30",
  e = "2018-05-24 12:00",
  lbl = "label",
  proj = "project_name",
  info = "Any additional information")

# We can also use the shorthand notation
ttd("
t: Description of the task;
s: 2018-05-24 11:30;
e: 2018-05-24 12:00;
l: label;
p: project_name;
i: Any additional information
")

rich-iannone/ttt documentation built on May 28, 2019, 9:51 a.m.