https://github.com/labasubagia/task-tracker
task tracker CLI
https://github.com/labasubagia/task-tracker
cli go task-tracker
Last synced: 7 months ago
JSON representation
task tracker CLI
- Host: GitHub
- URL: https://github.com/labasubagia/task-tracker
- Owner: labasubagia
- License: mit
- Created: 2024-09-14T01:01:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-14T06:00:20.000Z (over 1 year ago)
- Last Synced: 2025-02-28T11:29:50.390Z (about 1 year ago)
- Topics: cli, go, task-tracker
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Task Tracker CLI
This command-line application accept user actions and inputs as arguments, and store the tasks in a JSON file.
This project is solution of [task tracker](https://roadmap.sh/projects/task-tracker) from [roadmap.sh](https://roadmap.sh)
## Features
- Add, Update, and Delete tasks
- Mark a task as in progress or done
- List all tasks
- List all tasks that are done
- List all tasks that are not done
- List all tasks that are in progress
### Example usage
```sh
# build app
make build
# Adding a new task
./task-cli add "Buy groceries"
# Output: Task added successfully (ID: 1)
# Updating and deleting tasks
./task-cli update 1 "Buy groceries and cook dinner"
./task-cli delete 1
# Marking a task as in progress or done
./task-cli mark-in-progress 1
./task-cli mark-done 1
# Listing all tasks
./task-cli list
# Listing tasks by status
./task-cli list done
./task-cli list todo
./task-cli list in-progress
```
## Task Properties
Each task should have the following properties:
- `id`: A unique identifier for the task
- `description`: A short description of the task
- `status`: The status of the task (todo, in-progress, done)
- `createdAt`: The date and time when the task was created
- `updatedAt`: The date and time when the task was last updated
## License
[MIT](./LICENSE)