Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1020 Bytes

File metadata and controls

54 lines (34 loc) · 1020 Bytes

Todo App CLI

Todo App CLI is a command-line tool for managing your todo list in GO. It allows you to add, update, complete, delete, and list todos.

Features

  • Add a new todo with a title and description
  • Update a todo with a title and description
  • Mark a todo as complete
  • Delete a todo
  • List all todos

Installation

  1. Clone the repository: git clone https://github.com/ShroukAbozeid/todo-app-cli.git
  2. run go build
  3. run go install

Usage

To add a new todo, run the following command:

todo-app-cli add --title "Title of the todo" --description "Description of the todo"

To update a todo, run the following command:

todo-app-cli update --id ID --title "New title" --description "New description"

To mark a todo as complete, run the following command:

todo-app-cli complete --id ID

To delete a todo, run the following command:

todo-app-cli delete --id ID

To list all todos, run the following command:

todo-app-cli list