Commit graph

70 commits

Author SHA1 Message Date
lew
6efa9863fe feat(config): warn_on_delete, warn_on_overwrite, display_art toggles in config 2025-12-18 13:30:38 +00:00
lew
62c770dbf3 feat(config): VendorScope is unnecessary here 2025-12-18 12:56:58 +00:00
lew
03a4ad1c00 refactor(config): all uses of @default over to configuration 2025-12-18 12:54:06 +00:00
lew
6f39d532ce feat(config): config at XDG dir 2025-12-18 12:47:38 +00:00
lew
0c0de52a6e refactor(KeySpec): moves over to a unified KeySpec struct for parsing 2025-12-18 12:29:08 +00:00
lew
3d4cd40a17 feat(cmd): improves error messaging for globs 2025-12-18 01:53:09 +00:00
lew
7890e9451d feat(globs): glob support for dump/restore, extracts some shared logic 2025-12-17 22:18:15 +00:00
lew
9869b663e2 fix(del): don't fail to delete if a single glob doesn't match; only if no patterns match at all 2025-12-17 19:57:33 +00:00
lew
95c9ac8fca feat(globs): glob support extended to ls and documented in README 2025-12-17 19:40:05 +00:00
lew
badbf3b6bb feat(del): adds glob support for deletion 2025-12-17 18:37:10 +00:00
lew
14897ba587 feat(del): support for multi deletion 2025-12-17 18:18:48 +00:00
lew
c20e4cb69c feat(cmd): adds version subcmd 2025-12-17 15:38:41 +00:00
lew
fcae0bd4df chore(cmd): improves error messaging across the board 2025-12-17 14:49:24 +00:00
lew
def2941128 chore(testdata): updates test expectations to match new error messaging 2025-12-17 14:28:18 +00:00
lew
06e09df829 feat(cmd): SilenceUsage all but root 2025-12-17 14:24:44 +00:00
lew
f6f1376d1a fix(delCmd): error on KeyNotFound 2025-12-17 14:17:02 +00:00
lew
60d74e5ec1 feat(cmd): made error messaging closer to coreutils 2025-12-17 14:13:46 +00:00
lew
221d4cd921 feat(cmd): silence mvCmd usage on err and improved err msging 2025-12-17 13:57:22 +00:00
lew
3a4dd11acb feat(cmd): mv and cp 2025-12-17 13:19:25 +00:00
lew
2e50d4392f refactor(delete-db): default cmd set to del-db 2025-11-20 14:39:33 +00:00
lew
67fda05145 feat(Store): allows overriding of directory with PDA_DATA_DIR env 2025-11-20 13:03:07 +00:00
lew
13243e97a3 revert(Set/Get): reduces --help text; long explanation will go into actual documentation 2025-11-20 03:17:46 +00:00
lew
25b4363c5f feat(template): list func to funcmap 2025-11-20 03:01:45 +00:00
lew
99abdf4a31 feat(template): int func to coerce value to int 2025-11-20 01:18:14 +00:00
lew
9fdc831832 feat(Set/Get): added Long descriptions 2025-11-20 01:01:02 +00:00
lew
0a70169adb feat(Get): adds 'require' template func 2025-11-19 22:49:00 +00:00
lew
73cea8d660 feat(Get): adds support for text/template with [[ ]] delims 2025-11-19 22:36:46 +00:00
lew
a5e2e39784 fix(Get): Errors should be reported by their executing shell; all errors were bubbling up to PDA where they should not be 2025-11-19 15:12:58 +00:00
lew
2d756a5642 feat(Get): --run/-c flag to execute the gotten result as a sh cmd 2025-11-19 15:05:12 +00:00
lew
4bf3d60140 feat(listDbsCmd): lsd alias 2025-11-19 12:45:37 +00:00
lew
323c4d915a feat(cmds): 's' and 'g' aliases for set and get 2025-11-19 12:44:04 +00:00
lew
28582bc0b2 feat(cmds): adds common aliases for main commands 2025-11-19 12:41:45 +00:00
lew
885ef5ce4f feat(list): default to no borders, and no header; adds TSV output 2025-11-19 12:37:58 +00:00
lew
a4930b781e fix(list): unnecessary parameter 2025-11-19 11:13:35 +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
0dabf155be refactor(list): extracts the table column construction into list_table.go -- this needs a massive clean-up 2025-11-08 15:30:08 +00:00
lew
983c07c829 refactor(list): extracts ListArgs construction into its own list_flags.go file 2025-11-08 14:57:51 +00:00
lew
b99655a293 feat(list): swaps out manual format parsing for a formatEnum implementing pflag.Value 2025-11-08 14:40:24 +00:00
lew
a86100e045 fix(set): removed manual ttl parsing in favour of the .Duration() flag i didn't know existed 2025-11-07 19:52:06 +00:00
lew
6c6bd1adc1 feat(list): adds support for different go-pretty formatting styles - table[-dark/bright], csv, html, etc. 2025-11-07 18:29:49 +00:00
lew
7600434a05 chore(refactor): refactors listcmd 2025-11-07 17:19:39 +00:00
lew
d96b0f7a2c feat(list): limits column widths to fit on-screen 2025-11-07 14:00:34 +00:00
lew
5ba0ff1e31 feat(list): port over to go-pretty 2025-11-07 13:49:43 +00:00
lew
4ace97bddc feat(flags): negative flags added for defaults (--no-keys, --no-values), and removes --include- prefix from positive flags 2025-11-07 12:25:03 +00:00
lew
434855e958 feat(list): secret placeholder tweak 2025-11-07 12:07:01 +00:00
lew
1300bb76bf feat(list): output is now tabwritten 2025-11-07 12:05:18 +00:00
lew
cf8a19cba0 feat(ttl): added --ttl to setCmd, parsed with Go time.ParseDuration 2025-11-07 11:23:14 +00:00
lew
98793b334a feat(ttl): added ttl support in dump/restore 2025-11-07 11:18:23 +00:00
lew
d68bc8979b feat(list): added --only-keys, -k and --only-values, -v flags 2025-11-07 00:22:07 +00:00