Skip to content

Sathvik79/TerminalToDo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

TerminalToDo App

A simple command-line To-Do list application written in C, allowing you to manage tasks directly from the terminal.

Features

  • 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.

Getting Started

Prerequisites

  • A C compiler (e.g., gcc)
  • A terminal or command prompt

Installation

  1. Clone the Repository:

    git clone https://github.com/Sathvik79/TerminalToDo.git
    cd TerminalToDo
  2. Compile the Program:

    gcc app.c -o app 
  3. Run the Application:

    ./app <command> [arguments]

Usage

Commands

  • 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

Example Workflow

  1. Add tasks:

    ./app add "Clone TerminalToDo"
    ./app add "Commit fantastic features"
  2. List tasks:

    ./app list
  3. Mark a task as completed:

    ./app complete 1
  4. Delete a task:

    ./app delete 2

Project Structure

  • 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.

Contributing

Feel free to fork this project, submit issues, or contribute by making pull requests. Any contributions, big or small, are welcome!

About

To Do application managed using Terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages