feat: splits --glob into --key and --value searches
This commit is contained in:
parent
1f4732823d
commit
5145816b0a
22 changed files with 275 additions and 188 deletions
8
testdata/dump__value__ok.ct
vendored
Normal file
8
testdata/dump__value__ok.ct
vendored
Normal 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"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue