formatted tools

This commit is contained in:
Daylin Morgan 2022-01-21 10:06:40 -06:00
parent 923adda120
commit eab36b1dca

3
home/private_bin/executable_tools Executable file → Normal file
View file

@ -100,6 +100,8 @@ list() {
download() {
if ! [ -z "$1" ]; then
tool=$1
echo "installing $tool"
info=$(key=$tool yq e 'explode(.) | .[env(key)]' $YAMLDOC)
if [[ $info == "null" ]]; then
echo "$tool not found in $YAMLDOC"
@ -175,7 +177,6 @@ if [ -z "$args" ]; then
exit 0
else
echo "Downloading binaries to ${GREEN}$BIN_DIR${NORMAL}"
echo "installing......"
deps_check
for tool in "$args"; do
download $tool