infrastructure/summon-wrapper

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