/todo2

Primary LanguageGoOtherNOASSERTION

Todo cli

A simple todo list implemented using cobra-cli

Installation

go mod tidy

( You'll also need an .env file containing the database uri )

Usage

list the todos

go run main.go list

create a todo

go run main.go add [title] [?done:boolean]

update todo

go run main.go update [id] [?title:string] [?done:boolean]

delete todo

go run main.go delete [id]

License

MIT