Commit graph

18 commits

Author SHA1 Message Date
lew
f3b18c6b08 feat: new environment commands group, and updates to README 2026-02-12 00:46:18 +00:00
lew
d992074c9c feat: improved error messaging, and automatic doctor runs on fatal failure 2026-02-12 00:17:33 +00:00
lew
6ad6876051 fix(doctor): report config parse errors, remove redundant error in Execute
Doctor now checks configErr and emits a FAIL with the parse error and
fix hint. Execute() no longer prints a separate error before running
doctor — the doctor output is self-contained.
2026-02-12 00:07:14 +00:00
lew
b4c89e7d90 fix: restrict config-safe commands, add doctor header on config failure
Only config edit, config init, config path, and doctor run with a
broken config. Destructive commands like config set (which would
overwrite a partially-valid file with defaults) are now blocked.
Suppresses the warning on safe commands. Adds "Running pda! doctor"
header before diagnostic output.
2026-02-12 00:03:51 +00:00
lew
4d61a6913c feat: exempt config/doctor from config errors, run doctor on failure
When the config file is malformed, config and doctor commands now
proceed with defaults (showing a warning). All other commands print
the parse error and automatically run doctor to aid diagnosis.
2026-02-11 23:57:55 +00:00
lew
4e5064d07a feat(stores): adds mvs, and flags to bring store commands on par with key commands 2026-02-11 18:53:55 +00:00
lew
9bdc9c30c6 feat: encryption with age 2026-02-11 12:36:42 +00:00
lew
b52a5bfdb7 feat: huge overhaul of messaging into FAIL, WARN, hint, ok, prompt, and progress types 2026-02-11 02:11:58 +00:00
lew
7b1356f5af migrate from badger to ndjson-native storage 2026-02-10 23:56:33 +00:00
lew
26871decd0 feat(Run): adds explicit Run command 2025-12-23 10:00:14 +00:00
lew
c2d1ec0842 refactor(del): made remove the default case 2025-12-23 09:35:31 +00:00
lew
9467675715 chore(cmd): updates Shorts, and test expectations. 2025-12-23 08:42:20 +00:00
lew
3e3c55d0b6 chore(LICENSE): places license notice in all files 2025-12-18 13:57:35 +00:00
lew
6efa9863fe feat(config): warn_on_delete, warn_on_overwrite, display_art toggles in config 2025-12-18 13:30:38 +00:00
lew
6f39d532ce feat(config): config at XDG dir 2025-12-18 12:47:38 +00:00
lew
b93475ea45 feat(root): replaces cobra-cli placeholder desc with an actual desc 2025-11-11 13:55:59 +00:00
lew
3a781a56f1 style(root): removes superfluous cobra-cli comments 2025-11-11 13:34:09 +00:00
lew
0520418489 feat(init): initial commit 2025-11-06 15:00:18 +00:00