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 e6f09a037b
commit b47ca8f14d
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
}