summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rwxr-xr-xassets/bin/ass21
1 files changed, 21 insertions, 0 deletions
diff --git a/assets/bin/ass b/assets/bin/ass
new file mode 100755
index 00000000..61d315fd
--- /dev/null
+++ b/assets/bin/ass
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -euf
+
+JOURNAL="/krebs/db/truth.db"
+
+METHOD="$1"
+shift
+
+case $METHOD in
+"create")
+ echo "`date +%s.%N`: create $1" | tee -a $JOURNAL
+;;
+"set")
+ echo "`date +%s.%N`: set $1 $2 $3" | tee -a $JOURNAL
+;;
+*)
+ echo "you are made of stupid!"
+ exit 23
+;;
+esac