]> git.localhorst.tv Git - aosr-cli.git/commitdiff
add command line wrapper master
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 25 May 2022 16:49:44 +0000 (18:49 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 25 May 2022 16:49:44 +0000 (18:49 +0200)
aosr-cli [new file with mode: 0755]

diff --git a/aosr-cli b/aosr-cli
new file mode 100755 (executable)
index 0000000..63c7d33
--- /dev/null
+++ b/aosr-cli
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )";
+exec /usr/bin/env node "${SCRIPT_DIR}/app.js" "$@"