Skip to content

Sachither/CLI-TODO_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI TODO App

Welcome to the CLI TODO App! This is a simple command-line tool to help you manage your daily tasks right from your terminal. No fancy UI, just pure productivity.

Features

  • Add new TODO items
  • Prevents duplicate tasks
  • No special characters allowed in tasks
  • Tasks are saved in a text file (todo_list.txt)
  • Easy to use and lightweight

How It Works

  • All your TODOs are stored in a file called todo_list.txt.
  • Each task is numbered and saved in the format: number-task description.
  • You can add as many tasks as you want (up to 100 characters per task).
  • The app checks for duplicates and special characters so your list stays clean.

Getting Started

1. Requirements

  • Python 3.x (any recent version will do)

2. How to Run

  1. Open your terminal or command prompt.
  2. Navigate to the project folder:
    cd path\to\CLI-TODO_App
  3. Run the main script:
    python main.py

3. Adding a TODO

  • When prompted, type your task and hit Enter.
  • To finish adding tasks, type exit or q and press Enter.

4. Example

Enter your TODO item: (or type 'exit or q' to finish) Buy groceries
TODO item 'Buy groceries' added successfully!
Enter your TODO item: (or type 'exit or q' to finish) Call mom
TODO item 'Call mom' added successfully!
Enter your TODO item: (or type 'exit or q' to finish) exit
Your TODO list:
1-Buy groceries
2-Call mom

File Overview

Notes

  • Tasks can't have special characters like @, #, $, %, etc.
  • Each task must be unique and under 100 characters.
  • If you delete todo_list.txt, your tasks will be gone!
  • As i learn more i will update it.

Why Use This?

  • It's fast, simple, and works anywhere Python runs.
  • No sign-ups, no internet needed, just you and your tasks.

Feel free to play around, add features, or just use it as is. Happy tasking!

About

A command-line application built in Python to manage tasks, showcasing my knowledge of CRUD operations (Create, Read, Update, Delete). Features include adding, updating, deleting, and viewing tasks with input validation and persistent storage using a text file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages