feat: command rename finalising

This commit is contained in:
Lewis Wynne 2026-02-11 16:13:49 +00:00
parent 8ea865b2ce
commit a4d2e919dc
15 changed files with 22 additions and 33 deletions

View file

@ -3,7 +3,7 @@ $ pda set a2 2
$ pda set b1 3
$ fecho dumpfile {"key":"a1","value":"1","encoding":"text"} {"key":"a2","value":"2","encoding":"text"} {"key":"b1","value":"3","encoding":"text"}
$ pda rm a1 a2 b1
$ pda restore --key "a*" --file dumpfile
$ pda import --key "a*" --file dumpfile
ok restored 2 entries into @default
$ pda get a1
1
@ -12,5 +12,5 @@ $ pda get a2
$ pda get b1 --> FAIL
FAIL cannot get 'b1': no such key
hint did you mean 'a1'?
$ pda restore --key "c*" --file dumpfile --> FAIL
$ pda import --key "c*" --file dumpfile --> FAIL
FAIL cannot restore '@default': no matches for key pattern 'c*'