A simple command-line To-Do list application written in C, allowing you to manage tasks directly from the terminal.
- Add Task: Add a new task to your list.
- List Tasks: Display all tasks with their completion status.
- Complete Task: Mark a specific task as completed.
- Delete Task: Remove a specific task from your list.
- Help: Lists all the commands.
- A C compiler (e.g.,
gcc) - A terminal or command prompt
-
Clone the Repository:
git clone https://github.com/Sathvik79/TerminalToDo.git cd TerminalToDo -
Compile the Program:
gcc app.c -o app
-
Run the Application:
./app <command> [arguments]
-
Add a Task:
./app add "Your task description" -
List All Tasks:
./app list
-
Mark a Task as Completed:
./app complete <task_id>
-
Delete a Task:
./app delete <task_id>
-
Show Help:
./app help
-
Add tasks:
./app add "Clone TerminalToDo" ./app add "Commit fantastic features"
-
List tasks:
./app list
-
Mark a task as completed:
./app complete 1 -
Delete a task:
./app delete 2
app.c: The main source code file containing all the functionality of the To-Do app.tasks.txt: The file where tasks are saved. This file is automatically created in the same directory when you run the program.
Feel free to fork this project, submit issues, or contribute by making pull requests. Any contributions, big or small, are welcome!