A bash script takes several input arguments. First argument is required, and others are optional flags:
./go.sh NAME [configuration arguments]
for example
./go.sh test -flag1=true -flag2=true -test_flag=true
Configuration arguments are a set of optional flags which I access in the script as:
CONF_ARGS="${@:2}"
I need to detect if one of those flags, called test_flag, is set to true.
How would I do that?