feat: splits --glob into --key and --value searches

This commit is contained in:
Lewis Wynne 2026-02-11 15:21:05 +00:00
parent 1f4732823d
commit 5145816b0a
22 changed files with 275 additions and 188 deletions

8
testdata/dump__value__ok.ct vendored Normal file
View file

@ -0,0 +1,8 @@
$ pda set url https://example.com
$ fecho tmpval hello world
$ pda set greeting < tmpval
$ pda set number 42
$ pda dump --value "**https**"
{"key":"url","value":"https://example.com","encoding":"text"}
$ pda dump --value "**world**"
{"key":"greeting","value":"hello world\n","encoding":"text"}