mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-16 00:12:48 +00:00
updates
This commit is contained in:
parent
c320a8e3ae
commit
588d3b8635
10
bin/komrade-cli
Executable file
10
bin/komrade-cli
Executable 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
29
bin/komrade-install
Executable 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
|
Loading…
Reference in New Issue
Block a user