An open API service indexing awesome lists of open source software.

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

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)