- set up a SQLite database
- open SQLite DB
- add task
- delete task
- edit task
- get tasks
Making a CLI with Cobra
- add CLI
- add task
- delete task
- edit task
- get tasks
db/db.go
- here we create our custom task
struct and our data layer.
utils/utils.go
- utility functions handle our setup including opening a
database and setting the data path for our application.
cmd/
- this is where we do all of our Cobra commands and setup for our CLI.