infrastructure/summon-wrapper
Tobias Manske b4af554f65
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
fixup! Summon: Don't strip newline from machine keys
2023-09-16 04:04:21 +02:00

12 lines
219 B
Bash
Executable File

#!/bin/sh
NAME=$(echo "${@}"|tr : \ )
case "$NAME" in
machine/*)
passage show "${NAME}"
;;
*)
passage show "${NAME}" | head -c -1
;;
esac