How do I parse command line arguments in Bash?
To handle options on the command line, we can use a facility in the shell called positional parameters. These are a series of special variables ($0 through $9) that contain the contents of the command line.
sh script.sh verbose production deploy$0 = script.sh$1 = verbose$2 = production$3 = deploy