Closed
Description
This issue is based on #30 (comment)
Basically we want to be able to do something like
pk secrets ed vault1:secret1
and have it open in the default editor.
Here is how you do it in shell:
tmpfile=$(mktemp /tmp/abc.XXXXXX)
exec {fd}<> "$tmpfile"
rm -f "$tmpfile"
vim "/proc/self/fd/$fd"
cat <&${fd}
we just need to figure out how to have it triggered in JavaScript