From: Daniel Karbach Date: Wed, 25 May 2022 16:49:44 +0000 (+0200) Subject: add command line wrapper X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;ds=sidebyside;p=aosr-cli.git add command line wrapper --- diff --git a/aosr-cli b/aosr-cli new file mode 100755 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" "$@"