Files

Capstone Mini-Projekt: incident-tracker (CLI cobra + SQLite + JSON)

Ten sam projekt SRE realizujesz w Pythonie, Go i Ruście, żeby porównać ergonomię i architekturę wszystkich trzech języków.

Wymagania (tracker.go)

  1. IncidentStore na SQLite (modernc.org/sqlite): InitSchema, Add(title, severity), List(severity), Resolve(id), Stats().
  2. NewCLI(dbPath string, out io.Writer) *cobra.Command — podkomendy add <title> --severity <sev>, list [--severity <sev>], resolve <id>, stats wypisujące JSON do out.

Uruchomienie testów

make test-project