aboutsummaryrefslogtreecommitdiffhomepage
path: root/threadcat-read.sh
blob: 517f57da775e032f48a4e5f2d40aabce9c51cd7e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

THREAD_NAME=$1

if [ ! -z "${THREAD_NAME}" ]; then
    ssh $THREADCAT_USER "cat /opt/threadcat/$THREAD_NAME"
else
    echo You did not provide a thread name.
    echo USAGE: "threadcat read THREAD_NAME"
fi