Better usage

This commit is contained in:
Mikan
2026-03-10 05:42:27 +03:00
parent 4c260b1bad
commit 4b56ec4641
17 changed files with 15 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ A personal time tracking tool that monitors your work sessions, tracks time spen
## Installation ## Installation
```bash ```bash
pip install -e . pip install .
``` ```
## Usage ## Usage
@@ -23,14 +23,15 @@ pip install -e .
Run the application: Run the application:
```bash ```bash
python -m work_tracker python -m citrus_time_tracker
```
or just
```bash
citrus_time_tracker
``` ```
Use hotkeys:
- Ctrl+Alt+T: Toggle tracking
- Ctrl+Alt+N: New task
- Ctrl+Alt+S: End current session
- Ctrl+Alt+M: Adjust time

View File

@@ -3,9 +3,9 @@ requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
name = "work_tracker" name = "citrus_time_tracker"
version = "0.1.0" version = "1.0.0"
description = "Personal time tracking tool with YouTrack integration" description = "Time tracking tool with YouTrack integration"
readme = "README.md" readme = "README.md"
authors = [{name = "Mikan"}] authors = [{name = "Mikan"}]
license = {text = "MIT"} license = {text = "MIT"}
@@ -24,9 +24,12 @@ dev = [
"pytest-mock>=3.10.0", "pytest-mock>=3.10.0",
] ]
[project.scripts]
citrus_time_tracker = "citrus_time_tracker.__main__:main"
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
where = ["src"] where = ["src"]
include = ["time_tracker*"] include = ["citrus_time_tracker*"]
[tool.pytest.ini_options] [tool.pytest.ini_options]
testpaths = ["tests"] testpaths = ["tests"]