Limerio/todos-cli-app

Todos CLI App write in Go

★ 0Forks 0GoGitHub ↗Compare

README

Todos CLI App

Description

The goal of this project is to create a todos cli app in Go to learn the basics of Go. At the beginning, I did the project with a csv file and after that I change to an sqlite database. But there is a way to export in csv or json

Tech Stack

Tasks

  • Install all dependencies.
  • Create CRUD interaction with the database.
  • Create the create command (Initialize the database).
  • Create the add command (Add a todo in the database).
  • Create the list command (List all todos which come from the database)
    • View only the todos which are not done.
    • When there is the flag -a or --all view all todos (done and not done).
  • Create the done command.
  • Create the export command.
    • Export in JSON.
    • Export in CSV.
    • Export in HTML.
    • If no format argument provided open a TUI with huh to choose the format.
  • Create a remove command (Delete a todo with his id).
    • Add a confirm TUI interface.
    • Add a force flag.
  • Create the reset command (Delete the database).
    • Add a confirm TUI interface.
    • Add a force flag.
  • Create a better error handling.
  • Create tests.
  • Create a Makefile.
  • Add Github Actions

Contributors

vincent-josepavelLimerio

Issues