Expand description
Implementations of the commands run by the CLI
Functions§
- add_
comment - Add a comment line to the logfile
- add_
event - Add a zero duration event to the logfile
- archive_
year - Archive the first year from the logfile (if not the current year).
- chart_
daily - Create a graphical chart for each supplied day.
- check_
logfile - Check the logfile for any problems
- current_
task - Display the current task
- discard_
last_ entry - Discard the most recent entry in the logfile.
- edit
- Launch the configured editor to edit the logfile.
- ignore_
last_ entry - Mark the most recent entry as ignored
- initialize
- Initialize the timelog directory supplied and create a
.timelogrc
config file. If no directory is supplied default to~/timelog
- list_
aliases - List the aliases from the config file.
- list_
entries - List the entries for a particular date, or today if none is supplied.
- list_
projects - List the projects in the logfile.
- list_
stack - List the items on the stack, most recent first.
- pause_
task - Pause the current task by placing it on the stack and stopping timing.
- push_
task - Start a task and saving the current entry description to the stack.
- report_
daily - Print the full daily report for each supplied day.
- report_
events - Print a report of the zero duration events for each supplied day.
- report_
hours - Print the hourly report for each supplied day.
- report_
intervals - Print a report of intervals between the zero duration events for each supplied day.
- report_
summary - Print the summary report for each supplied day.
- reset_
last_ entry - Reset the datestamp on the most recent entry to now.
- resume_
task - Resume the previous task entry by popping it off the stack and starting that task at the current date and time.
- retime_
last_ entry - Replace the task time on the most recent entry.
- rewind_
last_ entry - Shift the time back the number of minutes on the most recent entry.
- rewrite_
last_ entry - Replace the task text on the most recent entry.
- stack_
clear - Clear the stack
- stack_
drop - Clear the stack
- stack_
keep - Remove all but the top items on the stack
- stack_
top - Display the top item on the stack
- start_
task - Start a task. Add an entry to the logfile marked with the current date and time and the supplied task description.
- stop_
task - Stop a task. Add the ‘stop’ entry to the logfile marked with the current date and time.
- swap_
entry - Swap the current task with the top item on the stack.