C# and Python3 are great for tool development, but Bash is still my preferred solution for small automation scripts. Below is one method for processing command-line arguments with case statements.

#!/bin/bash

function penguin ()
{
	echo "Option 3: Invoke arbitrary \"penguin\" function."
};

function input_args ()
{
	while [[ "$#" != 0 ]]; do
		case "$1" in
			-o | --one)
				enable_function=1
			;;
			-t | --two)
				echo "Option 2: My name is $2."
			;;
			-p | --penguin)
				penguin
			;;
		esac;
		shift;
	done
};
input_args "$@";

if [[ -n "$enable_function" ]]; then
	echo "Option 1: enables a switch.";
fi