2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-13 07:10:49 +00:00
Comrad/bin/komrade-cli
quadrismegistus f86e961994 updates
2020-09-15 09:51:52 +01:00

19 lines
350 B
Plaintext
Executable File

##
# Run the command line app
##
export KOMRADE_SHOW_LOG=0
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
path=`realpath "$SCRIPTPATH/../komrade/cli/cli.py"`
pathvenv=`realpath "$SCRIPTPATH/../venv/bin/activate"`
source $pathvenv
python "$path" $*
#if command -v deactivate &> /dev/null
#then
# deactivate
#fi