8000 GitHub - OnoArnaldo/timetracker-CLI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

OnoArnaldo/timetracker-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timetracker with CLI

Simple timer tracker with CLI.

The idea was to experiment with argparser and CLI, no test was created for this project.

Installation:

Just copy the folder and create a virtual environment.

python3.11 -m venv venv
source venv/bin/activate
pip install --upgrade pip

Make sure the file main.py is executable.

chmod +x main.py

In case the virtual environment is not in the same folder, the first line of main.py has to be changed.

#!./venv/bin/python
# ^ change this to the actual python path.
import sys
...

Setup the timetracker

Get help.

./main.py --help
./main.py project --help
./main.py task --help
./main.py timer --help

Create project.

./main.py project --add <project-name>

Create task.

./main.py task --add <task-name> <project-name or project-id>

Run the timetracker

Get all tasks available (@ will list all the projects).

./main.py task --list @

Start timer.

./main.py timer --start <task-name or task-id>

Check current status.

./main.py timer --status

Pause timer (This will save the timer).

./main.py timer --pause

Cancel timer (this will not save the timer).

./main.py timer --cancel

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0