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

@@ -21,7 +21,7 @@ cmd_backup :: proc(cmd: ^Command) {
return
}
db, db_ok := db_open()
db, db_ok := db_open(cmd.config_path)
if !db_ok {
// TODO: log a message
return