dotfiles/dot_config/fish/private_functions/ansible-encrypt-to-clipboard.fish

4 lines
123 B
Fish

function ansible-encrypt-to-clipboard
read -s val
ansible-vault encrypt_string -- "$val" | grep -v Encryption | pbcopy
end