You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading through create.sh, it gets very busy with color variables wrapping both sides of the text. Instead, create a function which allows the text to be read as the first argument and any wrapping colors and follow on commands at the end.
Use cases
Question
echo -e "${oc_COLOR_QUESTION}Describe this goals for this project${oc_COLOR_NOCOLOR}"
When reading through create.sh, it gets very busy with color variables wrapping both sides of the text. Instead, create a function which allows the text to be read as the first argument and any wrapping colors and follow on commands at the end.
Use cases
echo -e "${oc_COLOR_QUESTION}Describe this goals for this project${oc_COLOR_NOCOLOR}"
echo -e "${oc_COLOR_WARN}Invalid selection, try again${oc_COLOR_NOCOLOR}" >&2
echo -e "${oc_COLOR_WARN}jq could not be found. Install with homebrew.${oc_COLOR_NOCOLOR}\n\n brew install jq\n\n"
echo "The namespace for this project is set to $namespace."
The text was updated successfully, but these errors were encountered: