|
|
69ed39c4ac
|
fix(cmdtest): create binary in /tmp
|
2025-11-20 15:41:31 +00:00 |
|
|
|
dbf05c8242
|
test(del):
|
2025-11-20 15:30:28 +00:00 |
|
|
|
0bc5a9650c
|
test(set): TTL
|
2025-11-20 15:30:20 +00:00 |
|
|
|
f24865eab4
|
test(get): secret data
|
2025-11-20 14:42:07 +00:00 |
|
|
|
e710501d91
|
test(get): OK with flags
|
2025-11-20 14:41:49 +00:00 |
|
|
|
1bff9a7c50
|
test(get): OK
|
2025-11-20 14:41:38 +00:00 |
|
|
|
2bf9d7ab6e
|
test(get): ERR on missing key
|
2025-11-20 14:41:27 +00:00 |
|
|
|
63f68259bb
|
test(set): OK test cases
|
2025-11-20 14:41:06 +00:00 |
|
|
|
9d94b1d912
|
test(invalid): ERR
|
2025-11-20 14:40:40 +00:00 |
|
|
|
6ed878d89f
|
test(root): OK
|
2025-11-20 14:40:19 +00:00 |
|
|
|
0ade5faec9
|
test(help): OK test cases
|
2025-11-20 14:40:10 +00:00 |
|
|
|
2e50d4392f
|
refactor(delete-db): default cmd set to del-db
|
2025-11-20 14:39:33 +00:00 |
|
|
|
f9e6cd82a1
|
test(main): adds go-cmdtest scaffold
|
2025-11-20 13:03:34 +00:00 |
|
|
|
67fda05145
|
feat(Store): allows overriding of directory with PDA_DATA_DIR env
|
2025-11-20 13:03:07 +00:00 |
|
|
|
13243e97a3
|
revert(Set/Get): reduces --help text; long explanation will go into actual documentation
|
2025-11-20 03:17:46 +00:00 |
|
|
|
25b4363c5f
|
feat(template): list func to funcmap
|
2025-11-20 03:01:45 +00:00 |
|
|
|
99abdf4a31
|
feat(template): int func to coerce value to int
|
2025-11-20 01:18:14 +00:00 |
|
|
|
9fdc831832
|
feat(Set/Get): added Long descriptions
|
2025-11-20 01:01:02 +00:00 |
|
|
|
0a70169adb
|
feat(Get): adds 'require' template func
|
2025-11-19 22:49:00 +00:00 |
|
|
|
73cea8d660
|
feat(Get): adds support for text/template with [[ ]] delims
|
2025-11-19 22:36:46 +00:00 |
|
|
|
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 |
|
|
|
2d756a5642
|
feat(Get): --run/-c flag to execute the gotten result as a sh cmd
|
2025-11-19 15:05:12 +00:00 |
|
|
|
4bf3d60140
|
feat(listDbsCmd): lsd alias
|
2025-11-19 12:45:37 +00:00 |
|
|
|
323c4d915a
|
feat(cmds): 's' and 'g' aliases for set and get
|
2025-11-19 12:44:04 +00:00 |
|
|
|
28582bc0b2
|
feat(cmds): adds common aliases for main commands
|
2025-11-19 12:41:45 +00:00 |
|
|
|
885ef5ce4f
|
feat(list): default to no borders, and no header; adds TSV output
|
2025-11-19 12:37:58 +00:00 |
|
|
|
a4930b781e
|
fix(list): unnecessary parameter
|
2025-11-19 11:13:35 +00:00 |
|
|
|
b93475ea45
|
feat(root): replaces cobra-cli placeholder desc with an actual desc
|
2025-11-11 13:55:59 +00:00 |
|
|
|
3a781a56f1
|
style(root): removes superfluous cobra-cli comments
|
2025-11-11 13:34:09 +00:00 |
|
|
|
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 |
|
|
|
983c07c829
|
refactor(list): extracts ListArgs construction into its own list_flags.go file
|
2025-11-08 14:57:51 +00:00 |
|
|
|
b99655a293
|
feat(list): swaps out manual format parsing for a formatEnum implementing pflag.Value
|
2025-11-08 14:40:24 +00:00 |
|
|
|
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 |
|
|
|
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 |
|
|
|
7600434a05
|
chore(refactor): refactors listcmd
|
2025-11-07 17:19:39 +00:00 |
|
|
|
d96b0f7a2c
|
feat(list): limits column widths to fit on-screen
|
2025-11-07 14:00:34 +00:00 |
|
|
|
5ba0ff1e31
|
feat(list): port over to go-pretty
|
2025-11-07 13:49:43 +00:00 |
|
|
|
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 |
|
|
|
434855e958
|
feat(list): secret placeholder tweak
|
2025-11-07 12:07:01 +00:00 |
|
|
|
1300bb76bf
|
feat(list): output is now tabwritten
|
2025-11-07 12:05:18 +00:00 |
|
|
|
cf8a19cba0
|
feat(ttl): added --ttl to setCmd, parsed with Go time.ParseDuration
|
2025-11-07 11:23:14 +00:00 |
|
|
|
98793b334a
|
feat(ttl): added ttl support in dump/restore
|
2025-11-07 11:18:23 +00:00 |
|
|
|
d68bc8979b
|
feat(list): added --only-keys, -k and --only-values, -v flags
|
2025-11-07 00:22:07 +00:00 |
|
|
|
3f30a23c36
|
feat(cmd): renamed --secret to --include-secret across the board when getting secrets
|
2025-11-07 00:08:42 +00:00 |
|
|
|
14ce0cbe72
|
feat(list): secret entries are marked [secret] unless --secret is passed
|
2025-11-07 00:04:43 +00:00 |
|
|
|
f1a4f86675
|
feat(get): secret entries will not output unless --secret is explicitly passed
|
2025-11-06 23:59:49 +00:00 |
|
|
|
9036efb25b
|
feat(restore): restores secret metadata byte
|
2025-11-06 23:57:01 +00:00 |
|
|
|
af61485deb
|
feat(dump): secret entries are excluded unless --secret is passed
|
2025-11-06 23:56:50 +00:00 |
|
|
|
42735143e7
|
feat(set): --secret flag to mark input as a secret
|
2025-11-06 23:54:06 +00:00 |
|
|
|
5cdcc1d3d3
|
feat(restore): restore ndjson dumps
|
2025-11-06 23:42:09 +00:00 |
|