Skip to content

gonzalogorgojo/cpp-cli-todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Command Line Todo Application

This is a simple command-line todo application written in C++. It allows you to manage your todo list by adding, deleting, marking tasks as done, listing pending tasks, and viewing statistics. The application also creates and reads task data from files.

Features

  • Add new todo items: You can add new tasks to your todo list.
 ./todoapp add "todo item"
  • Delete todo items: You can delete specific todo items by their task number.
 ./todoapp del NUMBER
  • Mark tasks as done: You can mark tasks as done, moving them to a completed tasks list.
 ./todoapp done NUMBER
  • List pending tasks: You can list all pending todo items.
 ./todoapp ls
  • Display usage instructions: If you need help or forget the commands, you can display usage instructions.
 ./todoapp help
  • View statistics: You can view statistics of pending and completed tasks.
 ./todoapp report
  • File Storage: The application creates and reads task data from files (todo.txt and done.txt).

Requirements

To use this application, you need:

C++ compiler (C++11 or later) Standard Library

How to Compile

Compile the code using a C++ compiler. For example, using g++:

g++ -o todoapp cli_todo_app.cpp

Example

Here's an example of using the todo application:

./todoapp add "Buy groceries"
./todoapp add "Finish homework"
./todoapp ls
./todoapp done 1
./todoapp report

Author

About

This is a simple command-line todo app that allows you to create and manage a todo list. You can add, delete, mark as done, list, and report tasks using this app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages