2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-03 23:15:33 +00:00
Comrad/bin/komrade-cli

19 lines
350 B
Plaintext
Raw Normal View History

2020-09-14 13:38:27 +00:00
##
# Run the command line app
##
2020-09-15 08:51:52 +00:00
export KOMRADE_SHOW_LOG=0
2020-09-14 16:17:50 +00:00
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
2020-09-14 13:38:27 +00:00
path=`realpath "$SCRIPTPATH/../komrade/cli/cli.py"`
pathvenv=`realpath "$SCRIPTPATH/../venv/bin/activate"`
source $pathvenv
2020-09-14 20:10:31 +00:00
python "$path" $*
2020-09-14 16:17:50 +00:00
2020-09-14 16:47:39 +00:00
2020-09-15 08:51:52 +00:00
#if command -v deactivate &> /dev/null
#then
# deactivate
#fi