2 releases
0.1.1 | May 13, 2020 |
---|---|
0.1.0 | May 12, 2020 |
#1489 in Database interfaces
47KB
1K
SLoC
ttrackr
A terminal app for tracking time spent on working on tasks.
About
ttrackr
is used to track time spent on any tasks that you are
doing. You provide a list of tasks that will be tracked, then mark it
as started when you begin working on it, and mark it stopped
after you stop or finish working.
Installation
Install using cargo:
cargo install ttrackr
or by cloning this repo:
git clone https://github.com/michaeldvr/ttrackr.git
cd ttrackr
cargo install --path .
If you don't have sqlite3 on your system, pass --all-features
flag when calling cargo install
to include bundled SQLite.
Configuration
By default, the config file is located at $HOME/.ttrackrrc
.
autodone = true
[database]
path = "/home/username/.ttrackr.db"
autodone
is a flag to set a task as completed
when its spent time exceeds allocation time.
database.path
is used to specify the database file location. If you want
to reset your data, simply point this setting to a new location or delete
the database file.
Usage
- Create new task:
ttrackr create <taskname>
- Start time tracker:
ttrackr start <taskname>
- Stop task:
ttrackr stop <taskname>
orttrackr stopall
- List all tasks
ttrackr list
- List current running tasks
ttrackr status
- Pass
-h
flag to show the help message.
Dependencies
~32–43MB
~728K SLoC