- Clone the repo
- Run
make build - Link current directory to path
export PATH=/Users/xindixu/Code/todo-time-tracker:$PATH - Run
ttt helpto see the available commands
$ ttt help
Simple CLI tool to help you keep track of the tasks to do and the time spent on a task
Usage:
ttt [command]
Available Commands:
add Add a task or a list of tasks
cleanup Remove all completed tasks
completion Generate the autocompletion script for the specified shell
current Get the tasking that is currently being worked on
delete Delete a task or a list of tasks
done Mark a task or a list of tasks as completed
help Help about any command
list List out all of added tasks
log Show the log of sessions spent on tasks
start Start the timer for a task
stop Stop the timer for the current task
Flags:
-h, --help help for ttt
-t, --toggle Help message for toggle
Use "ttt [command] --help" for more information about a command.
-
Add tasks (
add)Single Multiple ttt add yogattt add -b jogging swimmingttt add yoga for 1 hrttt add -b "jogging for 1 hr" "swimming for 1 hr" -
Mark tests as complete (
done)Single Multiple ttt done yogattt done -b jogging swimmingttt done yoga for 1 hrttt done -b "jogging for 1 hr" "swimming for 1 hr" -
Delete tasks (
delete)Single Multiple ttt delete yogattt delete -b jogging swimmingttt delete yoga for 1 hrttt delete -b "jogging for 1 hr" "swimming for 1 hr" -
List tasks (
list)Incomplete Only All ttt listttt list -a
- BoltDB
- Cobra