feat: Config can be loaded from any path with --config-file (-c) flag.

This commit is contained in:
2026-06-15 08:18:34 -04:00
parent e23ea960d7
commit 4a26ee8145
15 changed files with 133 additions and 166 deletions

View File

@@ -14,7 +14,7 @@ ListEntry :: struct {
}
cmd_list :: proc(cmd: ^Command) {
db, db_ok := db_open()
db, db_ok := db_open(cmd.config_path)
if !db_ok {
return
}