Named Arguments in a Bash Script
Positional arguments like $1 and $2 are hard to read. This Bash pattern maps named options to explicitly allowed variables and validates the required input.
Read the article Named Arguments in a Bash ScriptPositional arguments like $1 and $2 are hard to read. This Bash pattern maps named options to explicitly allowed variables and validates the required input.
Read the article Named Arguments in a Bash Script