diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a723895 --- /dev/null +++ b/setup.py @@ -0,0 +1,16 @@ +from setuptools import setup, find_packages + +setup( + name='task-tracker', + version='0.1.0', + packages=find_packages(), + include_package_data=True, + install_requires=[ + 'rich', + ], + entry_points={ + 'console_scripts': [ + 'task-tracker=task_tracker.cli:main', + ], + }, +) \ No newline at end of file diff --git a/task_tracker/__init__.py b/task_tracker/__init__.py new file mode 100644 index 0000000..401da57 --- /dev/null +++ b/task_tracker/__init__.py @@ -0,0 +1 @@ +from .cli import main diff --git a/task-cli.py b/task_tracker/cli.py similarity index 99% rename from task-cli.py rename to task_tracker/cli.py index 69202d1..d654727 100644 --- a/task-cli.py +++ b/task_tracker/cli.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import json import os from datetime import datetime diff --git a/tasks.json b/tasks.json index 628c43d..f58cd0c 100644 --- a/tasks.json +++ b/tasks.json @@ -68,5 +68,12 @@ "status": "Pending", "createdAt": "2024-09-12 14:34:25", "updatedAt": "2024-09-12 14:34:25" + }, + { + "id": 11, + "description": "new task", + "status": "Pending", + "createdAt": "2024-09-17 20:56:14", + "updatedAt": "2024-09-17 20:56:14" } ] \ No newline at end of file