/ruby-todo-list

The ToDo List Manager is a straightforward Ruby application that allows you to manage your tasks from the command line. It provides basic functionalities for adding, viewing, marking tasks as complete, and removing tasks. Tasks are stored in a text file, making it easy to persist your tasks between sessions.

Primary LanguageRuby

ToDo List Manager (Ruby Command-Line Application)

Coffee

Description

The ToDo List Manager is a straightforward Ruby application that allows you to manage your tasks from the command line. It provides basic functionalities for adding, viewing, marking tasks as complete, and removing tasks. Tasks are stored in a text file, making it easy to persist your tasks between sessions.

Technologies and Languages Used

Ruby Ruby

Features

  • Add tasks with titles and descriptions.
  • View the list of tasks, including their titles, descriptions, and completion status.
  • Mark tasks as complete.
  • Remove tasks from the list.
  • Tasks are stored in a text file for data persistence.

Prerequisites

Before you start, ensure you have the following installed:

Ruby (Ruby 2.5.0 or higher recommended)

Getting Started

To get a local copy up and running, follow these simple steps:

  1. Clone the repository:
git clone https://github.com/odhiambo-ed/ruby-todo-list.git
  1. Navigate to the project directory:
cd /ruby-todo-list
  1. Build and run the application:
ruby todo_app.rb

Use the following options in the menu:

  1. Add Task: Add a new task by providing a title and description.
  2. View Tasks: Display the list of tasks along with their details.
  3. Mark Task as Complete: Mark a task as complete by selecting its index.
  4. Remove Task: Remove a task from the list by selecting its index.
  5. Exit: Exit the application. Your tasks are stored in a tasks.txt file in the same directory. They will be loaded when you run the application and saved when you add, mark, or remove tasks.

Author(s)

Edward Edward Odhiambo

🤝 Contributing

Contributions, issues, and feature requests are welcome!!!

Feel free to check the issues page

If you'd like to contribute to this project, please follow these guidelines:

  • Fork the repository.
  • Create a new branch.
  • Make your changes and commit them.
  • Push your changes to your fork.
  • Create a pull request with a clear description of your changes.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

📝 License

This project is MIT licensed.

Have a happy coding experience! 💪