You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
318 B
Plaintext
19 lines
318 B
Plaintext
##
|
|
# Run the command line app
|
|
##
|
|
|
|
|
|
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
|