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

https://github.com/aksellercan/tasktrackercli


https://github.com/aksellercan/tasktrackercli

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

Sample solution for the [task-tracker](https://roadmap.sh/projects/task-tracker) challenge from roadmap.sh.

## Setup
```bash
git clone https://github.com/Aksellercan/TaskTrackerCLI.git
cd TaskTrackerCLI
gcc main.c String/String.c cJSON/cJSON.c FileUtility.c Tasks.c -o ./TaskTrackerCLI
./TaskTrackerCLI help
```

## Usage
```bash
./TaskTrackerCLI add "task description"
./TaskTrackerCLI update 1 "new task description"
./TaskTrackerCLI delete 2
./TaskTrackerCLI list
./TaskTrackerCLI list todo/done/in-progress
./TaskTrackerCLI mark-done 1
./TaskTrackerCLI mark-in-progress 3
./TaskTrackerCLI sort-completed
./TaskTrackerCLI sort-incomplete
./TaskTrackerCLI help
```

```bash
./TaskTrackerCLI help
Usage: [OPTION]

Options:
add
delete
update
mark-in-progress
mark-done
list

Usage: [OPTION]
sort-completed -> Sort by completed
sort-incomplete -> Sort by incomplete or in-progress
list -> List all tasks
help -> print this menu
```