infrastructure/summon-wrapper

12 lines
219 B
Plaintext
Raw Permalink Normal View History

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