a simple command-line interface (cli) for managing todos locally. this application allows you to create, view, update, and delete todos, saving your data to a local json file for persistence.
- create a todo: add new tasks with ease.
- view all todos: list all saved todos.
- update a todo: modify existing tasks by their id.
- delete a todo: remove tasks by their id.
- go installed (1.18 or later).
- clone this repository:
git clone https://github.com/aminoxix/todo-cli.git
- navigate to the project directory:
cd todo-cli
- run the application:
go run main.go
once the program is running, you'll be prompted with the following options:
what operation do you want to perform?
c: Insert a todo
r: View all todos
u: Update a todo
d: Delete a todo
- enter the desired operation (
c
,r
,u
, ord
). - follow the on-screen prompts to complete the action.
- all todos are saved to a json file at
./shared/data/todos.json
. - this ensures that your data persists between sessions.
</3> by aminos.