docs: updates messaging in README
This commit is contained in:
parent
b52a5bfdb7
commit
fb75758986
1 changed files with 10 additions and 6 deletions
16
README.md
16
README.md
|
|
@ -180,7 +180,8 @@ pda rm kitty --glob ?og
|
||||||
|
|
||||||
# Opt in to a confirmation prompt with --interactive/-i (or always_prompt_delete in config).
|
# Opt in to a confirmation prompt with --interactive/-i (or always_prompt_delete in config).
|
||||||
pda rm kitty -i
|
pda rm kitty -i
|
||||||
# remove "kitty": are you sure? (y/n)
|
# ??? remove 'kitty'? (y/n)
|
||||||
|
# ==> y
|
||||||
```
|
```
|
||||||
|
|
||||||
<p align="center"></p><!-- spacer -->
|
<p align="center"></p><!-- spacer -->
|
||||||
|
|
@ -215,11 +216,11 @@ pda export --glob a*
|
||||||
```bash
|
```bash
|
||||||
# Import with an argument.
|
# Import with an argument.
|
||||||
pda import -f my_backup
|
pda import -f my_backup
|
||||||
# Restored 2 entries into @default.
|
# ok restored 2 entries into @default
|
||||||
|
|
||||||
# Or from stdin.
|
# Or from stdin.
|
||||||
pda import < my_backup
|
pda import < my_backup
|
||||||
# Restored 2 entries into @default.
|
# ok restored 2 entries into @default
|
||||||
|
|
||||||
# Import only matching keys.
|
# Import only matching keys.
|
||||||
pda import --glob a* -f my_backup
|
pda import --glob a* -f my_backup
|
||||||
|
|
@ -329,7 +330,7 @@ pda get greeting NAME="Bob"
|
||||||
```bash
|
```bash
|
||||||
pda set file "{{ require .FILE }}"
|
pda set file "{{ require .FILE }}"
|
||||||
pda get file
|
pda get file
|
||||||
# Error: required value missing or empty
|
# FAIL cannot get 'file': ...required value is missing or empty
|
||||||
```
|
```
|
||||||
|
|
||||||
<p align="center"></p><!-- spacer -->
|
<p align="center"></p><!-- spacer -->
|
||||||
|
|
@ -349,7 +350,7 @@ pda set level "Log level: {{ enum .LEVEL "info" "warn" "error" }}"
|
||||||
pda get level LEVEL=info
|
pda get level LEVEL=info
|
||||||
# Log level: info
|
# Log level: info
|
||||||
pda get level LEVEL=debug
|
pda get level LEVEL=debug
|
||||||
# Error: invalid value "debug" (allowed: [info warn error])
|
# FAIL cannot get 'level': ...invalid value 'debug', allowed: [info warn error]
|
||||||
```
|
```
|
||||||
|
|
||||||
<p align="center"></p><!-- spacer -->
|
<p align="center"></p><!-- spacer -->
|
||||||
|
|
@ -493,7 +494,10 @@ pda ls --no-keys
|
||||||
# cogwheel
|
# cogwheel
|
||||||
|
|
||||||
pda rm cat --glob "{mouse,[cd]og}**"
|
pda rm cat --glob "{mouse,[cd]og}**"
|
||||||
# remove: 'cat', 'mouse trap', 'dog house', 'cogwheel': are you sure? [y/n]
|
# ??? remove 'cat'? (y/n)
|
||||||
|
# ==> y
|
||||||
|
# ??? remove 'mouse trap'? (y/n)
|
||||||
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
<p align="center"></p><!-- spacer -->
|
<p align="center"></p><!-- spacer -->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue