Commit graph

166 commits

Author SHA1 Message Date
lew
b614c97f42 chore: bump version to 2026.14
Some checks are pending
Go / build (push) Waiting to run
2026-04-01 15:15:21 +01:00
lew
bc0b98c7f9 feat(completions): wire up key completions for key commands 2026-03-16 16:31:57 +00:00
lew
84b1c67c72 feat(completions): wire up store completions and --store flag completions 2026-03-16 16:31:37 +00:00
lew
cb135b7caa feat(completions): add key and store completion helpers 2026-03-16 16:27:37 +00:00
lew
9914f51140 fix(get): prevents templating invalid utf8 values 2026-02-14 01:41:40 +00:00
lew
5bcd3581dd feat: adds --readonly and --pin flags, and displays Size column in list by default 2026-02-13 18:52:34 +00:00
lew
637c7e0b56 feat(edit): add edit command to open key values in $EDITOR 2026-02-13 15:27:16 +00:00
lew
618842b285 feat(meta): add meta command for viewing/modifying key metadata 2026-02-13 15:15:26 +00:00
lew
a382e8dc79 feat(shared): add parseTTLString helper for duration/"never" parsing 2026-02-13 15:14:05 +00:00
lew
579e6a1eee feat(identity): added --add-recipient and --remove-recipient flags for multi-recipient keys 2026-02-13 15:12:22 +00:00
lew
f9ff2c0d62 feat(templates): adds arbitrary shell execution and pda-getting 2026-02-12 23:28:19 +00:00
lew
2ca32769d5 feat(commit): text templating in commit messages 2026-02-12 20:00:57 +00:00
lew
4e78cefd56 feat(config): some additional config options, and config migration from deprecated keys 2026-02-12 19:31:24 +00:00
lew
f3b18c6b08 feat: new environment commands group, and updates to README 2026-02-12 00:46:18 +00:00
lew
32459b420b feat(config): validation on set, refusal to set incorrect values. warns when manually editing with incorrect values 2026-02-12 00:39:41 +00:00
lew
4bd45e7d3c feat(doctor): detects undecoded config keys 2026-02-12 00:35:28 +00:00
lew
df70be2c4f refactor(config)!: moved store.list_all_stores to list.list_all_stores 2026-02-12 00:32:07 +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
ed1a562c2c refactor(doctor): replace hand-maintained configDiffs with configFields 2026-02-11 23:53:33 +00:00
lew
bc9d95e8d5 fix(config): accept case-insensitive booleans in config set 2026-02-11 23:52:44 +00:00
lew
abf0c86ab0 feat(config): add config edit subcommand 2026-02-11 23:51:29 +00:00
lew
4afc0fd8ce feat(config): add config set subcommand with type validation 2026-02-11 23:49:44 +00:00
lew
c9b448d508 refactor(msg): single space between keyword and message, improve config suggestions
Tightens keyword formatting (ok/FAIL/hint/etc.) from two spaces to one.
Makes config key suggestions more generous: normalises spaces to
underscores, matches against leaf segments, and uses substring matching.
Updates all golden files.
2026-02-11 23:47:59 +00:00
lew
db607ac696 feat(config): add config init subcommand with --new flag 2026-02-11 23:43:21 +00:00
lew
6bba227654 feat(config): add config get subcommand with suggestions 2026-02-11 23:37:52 +00:00
lew
cc19ee5c0f feat(config): add config list subcommand 2026-02-11 23:35:51 +00:00
lew
e4a5e7f715 feat(config): add config parent command and path subcommand 2026-02-11 23:34:20 +00:00
lew
3f6ddfbcd4 feat(config): add reflection-based configFields framework 2026-02-11 23:29:54 +00:00
lew
55b2e7f6cb feat: makes ls list all stores by default, with config option to disable. adds --store glob support 2026-02-11 23:04:14 +00:00
lew
b6248e409f refactor(home)!: moves home to PDA_HOME, out of PDA_HOME/stores/ 2026-02-11 21:51:58 +00:00
lew
11276fcf25 feat(doctor): full implementation of doctor health checks 2026-02-11 21:44:35 +00:00
lew
0c5b73154d feat(doctor): initial doctor command 2026-02-11 20:10:35 +00:00
lew
ce7336324f feat(list): adds plain json formatting 2026-02-11 19:34:29 +00:00
lew
15c1d6733c feat(lss): adds --no-header and --short flags, and lowercases all flag descriptions 2026-02-11 19:29:14 +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
b89db8dc48 feat(set): adds --file flag to input from a file path 2026-02-11 18:27:22 +00:00
lew
59cb09a8e7 feat(version): adds --short flag to only show release information 2026-02-11 18:16:37 +00:00
lew
9130c09e56 feat(rm): adds --yes flag to auto-accept all prompts 2026-02-11 17:57:05 +00:00
lew
cf7dbf5bee feat(sync): adds --message flag for manual commit message 2026-02-11 17:49:02 +00:00
lew
ac847f34ca feat(set): adds --safe flag for preventing accidental overwrites 2026-02-11 17:38:36 +00:00
lew
6e1af5ba28 feat(get): adds --exists flag for checking existence of a key 2026-02-11 17:36:49 +00:00
lew
ad98a1e6c4 feat(list): adds --count flag for returning a count of matches 2026-02-11 17:24:55 +00:00
lew
e04bcfb306 fix: artifacts in comments from copying the commands over initially 2026-02-11 17:24:32 +00:00
lew
a4d2e919dc feat: command rename finalising 2026-02-11 16:13:49 +00:00
lew
d0926c2c1d fix: fixes a collision when -i is used with input passed via stdin, uses /dev/tty instead 2026-02-11 15:27:29 +00:00
lew
5145816b0a feat: splits --glob into --key and --value searches 2026-02-11 15:21:05 +00:00
lew
1f4732823d feat: underlined header texts, and one-space right pad 2026-02-11 14:17:48 +00:00