feat: huge overhaul of messaging into FAIL, WARN, hint, ok, prompt, and progress types
This commit is contained in:
parent
6ccd801c89
commit
b52a5bfdb7
30 changed files with 192 additions and 96 deletions
4
testdata/restore__drop__ok.ct
vendored
4
testdata/restore__drop__ok.ct
vendored
|
|
@ -2,8 +2,8 @@ $ pda set existing keep-me
|
|||
$ pda set other also-keep
|
||||
$ fecho dumpfile {"key":"new","value":"hello","encoding":"text"}
|
||||
$ pda restore --drop --file dumpfile
|
||||
Restored 1 entries into @default
|
||||
ok restored 1 entries into @default
|
||||
$ pda get new
|
||||
hello
|
||||
$ pda get existing --> FAIL
|
||||
Error: cannot get 'existing': No such key
|
||||
FAIL cannot get 'existing': no such key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue