diff --git a/scripts/dashboard.sh b/scripts/dashboard.sh new file mode 100755 index 0000000..8450ee7 --- /dev/null +++ b/scripts/dashboard.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Convenience wrapper to run the automaton dashboard from any directory. +set -e + +FRAMEWORK_DIR="$HOME/.automaton" +exec python3 -c " +import sys +sys.path.insert(0, '$FRAMEWORK_DIR') +from automaton.dashboard.__main__ import main +main() +" "$@"