feat: add SQL/SQLite, AppSec, Capstone incident-tracker, Gitea Actions CI and spaced repetition
Test and Lint / quality (push) Successful in 1m50s
Test and Lint / quality (push) Successful in 1m50s
This commit is contained in:
1 parent
015eae08c3
commit
9130af822e
19 files changed
+722
-7
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Capstone Mini-Projekt: `incident-tracker` (CLI `clap` + 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 (`src/lib.rs`)
|
||||
1. `IncidentStore` na `rusqlite`: `init_schema`, `add(title, severity)`, `list(severity)`, `resolve(id)`, `stats()`.
|
||||
2. `run_cli(db_path: &Path, args: &[&str]) -> Result<String, TrackerError>` — parsuje podkomendy `add <title> --severity <sev>`, `list [--severity <sev>]`, `resolve <id>`, `stats` przez `clap` i zwraca wynik jako JSON `String`.
|
||||
|
||||
## Uruchomienie testów
|
||||
```bash
|
||||
make test-project
|
||||
```
|
||||
Reference in new issue
Block a user