diff options
author | Colin Okay <colin@cicadas.surf> | 2022-08-15 10:10:29 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-08-15 10:10:29 -0500 |
commit | 921ff76178a468552189137076193ed70dd7ffbe (patch) | |
tree | 5ad111473a67c5843b32f6f7733e18bb5a7799a3 /threadcat | |
parent | d1de6639e192ad059fa54551dbceb553bdfdd829 (diff) |
[add] threadcat-del command
Diffstat (limited to 'threadcat')
-rwxr-xr-x | threadcat | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,6 +14,7 @@ if [ -z "${THREADCAT_SUBCOMMAND}" ]; then echo " list lists threads, most recent first" echo " read [THREAD] reads a thread, printing to stdout" echo " write [THREAD] posts to THREAD from stdin" + echo " del [THREAD] delete a thread" exit 0 fi @@ -21,6 +22,7 @@ case "$THREADCAT_SUBCOMMAND" in "list" ) threadcat-list.sh ;; "read" ) threadcat-read.sh $2 ;; "write" ) threadcat-write.sh $2 ;; + "del" ) threadcat-delete.sh $2 ;; * ) echo Unknown subcommand $THREADCAT_SUBCOMMAND - echo commands are list, read, write;; + echo commands are list, read, write, del;; esac |