Open-sourced my dtools CLI

This commit is contained in:
2025-11-24 15:32:30 -07:00
parent 3cff748a76
commit 8df7811c39
254 changed files with 40015 additions and 2 deletions
@@ -0,0 +1,5 @@
validate_port_number() {
if [[ ! $1 =~ ^([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$ ]]; then
red_bold "The port number provided is invalid: $1"
fi
}