Files
automaton/scripts/dashboard.sh
T

12 lines
252 B
Bash
Raw Normal View History

#!/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()
" "$@"