aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-12-16 18:19:49 +0100
committerlassulus <lassulus@googlemail.com>2013-12-16 18:19:49 +0100
commitf09b4ea6c6a381b85363fd811b6e6526c76593ce (patch)
tree18dd4124924ad457641e07094474204ab88cfb0b /commands
parent58ed45469cab2e25f2a2a7a98de22ac079763063 (diff)
Reaktor/IRC: use command patterns
Diffstat (limited to 'commands')
-rwxr-xr-xcommands/badcommand (renamed from commands/retard)0
-rwxr-xr-xcommands/caps1
-rwxr-xr-xcommands/say2
3 files changed, 3 insertions, 0 deletions
diff --git a/commands/retard b/commands/badcommand
index c59b4d1..c59b4d1 100755
--- a/commands/retard
+++ b/commands/badcommand
diff --git a/commands/caps b/commands/caps
index bc3d7ba..caa1fe0 100755
--- a/commands/caps
+++ b/commands/caps
@@ -1,4 +1,5 @@
#! /bin/sh
+exec echo 'TODO: need access to config.json'
set -euf
cd public_commands
echo `ls`
diff --git a/commands/say b/commands/say
new file mode 100755
index 0000000..8b83c05
--- /dev/null
+++ b/commands/say
@@ -0,0 +1,2 @@
+#!/bin/sh
+printf '%s\n' "$*"