feat(set): adds --file flag to input from a file path
This commit is contained in:
parent
59cb09a8e7
commit
b89db8dc48
5 changed files with 30 additions and 2 deletions
|
|
@ -140,6 +140,10 @@ echo "Alice" | pda set name
|
|||
cat dogs.txt | pda set dogs
|
||||
pda set kitty < cat.png
|
||||
|
||||
# From a file
|
||||
pda set dogs --file dogs.txt
|
||||
pda set kitty -f cat.png
|
||||
|
||||
# --safe to skip if the key already exists.
|
||||
pda set name "Alice" --safe
|
||||
pda set name "Bob" --safe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue