infrastructure/summon-wrapper

9 lines
158 B
Plaintext
Raw Normal View History

2023-09-14 07:09:02 +02:00
#!/bin/sh
NAME=$(echo "${@}"|tr : \ )
2023-09-14 07:09:02 +02:00
if [[ "$NAME" == machine/* ]]; then
passage show "${NAME}"
else
passage show "${NAME}" | head -c -1
fi