2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-16 00:12:48 +00:00
This commit is contained in:
quadrismegistus 2020-09-14 14:38:27 +01:00
parent c320a8e3ae
commit 588d3b8635
2 changed files with 39 additions and 0 deletions

10
bin/komrade-cli Executable file
View File

@ -0,0 +1,10 @@
##
# Run the command line app
##
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
path=`realpath "$SCRIPTPATH/../komrade/cli/cli.py"`
pathvenv=`realpath "$SCRIPTPATH/../venv/bin/activate"`
source $pathvenv
python "$path"

29
bin/komrade-install Executable file
View File

@ -0,0 +1,29 @@
# install pyenv?
echo "
# # ## # # ### ## ### ####
# # # # #### # # # # # # #
## # # #### ### # # # # ###
# # # # # # # # #### # # #
# # ## # # # # # # ### ####
installing...
"
if ! command -v pyenv2 &> /dev/null
then
echo "pyenv not installed. install?"
read -p "[Y/n] " pyenv_yn
echo "input was: $pyenv_yn"
if [ pyenv_yn!="n" ]; then
echo "Not install pyenv."
else
echo "installing..."
#curl https://pyenv.run | bash
fi
fi