chore: Cleaned up code.

This commit is contained in:
2026-06-15 09:26:48 -04:00
parent b47ca8f14d
commit e510f72799
19 changed files with 276 additions and 176 deletions

View File

@@ -17,19 +17,16 @@ cmd_backup :: proc(cmd: ^Command) {
file, ok := new_env_file(path)
if !ok {
// TODO: log a message
return
}
db, db_ok := db_open(cmd.config_path)
if !db_ok {
// TODO: log a message
return
}
defer db_close(&db)
if !db_insert(&db, file) {
// TODO: log a message
return
}