mricos@ux305-3:~/tetra$ type dotool-upgrade
dotool-upgrade is a function
dotool-upgrade ()
{
if [ $# -lt 1 ]; then
echo "Command requires the name of the droplet";
echo "dotool-upgrade name";
return 1;
fi;
ssh root@"$(dotool-name-to-ip "$1")" "
apt -y update
apt -y upgrade
"
}
dotool-upgrade ()
{
apt -y update
apt -y upgrade
}