convert this to a python script #!/bin/bash set -euo pipefail IFS=$'\n\t' SCRIPTDIR=$(cd…
- User
convert this to a python script
#!/bin/bash set -euo pipefail IFS=$'\n\t'
SCRIPT_DIR=(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
function green() { printf "\e[32m" }
function red() { printf "\e[31m" }
function yellow() { printf "\e[33m" }
function blue() { printf "\e[34m" }
function gray() { printf "\e[38;5;242m" }
function clr() { printf "\e[0m" }
function tag_message() { if [[ -z 2 ]]; then error 'status(): not found required parameters!' return 1 fi
local result=0 local -r ok_msg="[ (clr) ] " local -r err_msg="[ (clr) ] " local -r warn_msg="[ (clr) ] " local -r info_msg="[ (clr) ] "
Assistant