19 lines
418 B
Bash
Executable File
19 lines
418 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SKILLS_DIR="./skills"
|
|
|
|
function install () {
|
|
name=$1
|
|
url=$2
|
|
|
|
if ! [ -d "${SKILLS_DIR}/$name" ]; then
|
|
git clone $url ${SKILLS_DIR}/$name
|
|
fi
|
|
requirements_file="${SKILLS_DIR}/$name/requirements.txt"
|
|
if [ -f ${requirements_file} ]; then
|
|
pip install -r $requirements_file
|
|
fi
|
|
}
|
|
|
|
pip install -r ./requirements.txt
|
|
install "hexstrike_ai" "https://github.com/0x4m4/hexstrike-ai.git" |