mirror of
https://github.com/sbrow/envr.git
synced 2026-06-28 02:58:33 -04:00
feat: Config can be loaded from any path with --config-file (-c) flag.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user