Justfile: improve _get_path_entry command
This commit is contained in:
parent
fbb7d5dd50
commit
f1449bdac8
1 changed files with 1 additions and 2 deletions
3
Justfile
3
Justfile
|
@ -276,8 +276,7 @@ verify-n-unlock sshserver attempts="10":
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
_get_pass_entry path key:
|
_get_pass_entry path key:
|
||||||
pass show {{path}}| grep -E "^{{key}}:" | awk '{ print $2 }'
|
pass show {{path}}| grep -E "^{{key}}:" | sed -E 's/^[^:]+: *//g'
|
||||||
# jq -sR 'split("\n") | map(split(":"))' <(pass show Infrastructure/VPS/CFB4ED74 | grep -E "^[A-Za-z_]+:")
|
|
||||||
|
|
||||||
run-with-channels +cmds:
|
run-with-channels +cmds:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue