I'm writing a Bash function called run_aws_ssm_get_parameter. Its current interface is positional: run_aws_ssm_get_parameter "false" "" "some_param". The first value controls debug logging, the second optionally identifies an AWS…
I'm designing a Bash function called run_aws_ssm_get_parameter. Its current interface is positional: run_aws_ssm_get_parameter "false" "" "some_param". The first argument controls debug logging, the second is an optional AWS…
I'm reading the documentation for getopt, but I still don't understand what problem it solves or when I should use it. Could someone explain its purpose with a…
I'm reading the Bash documentation for getopt and getopts, but I still don't understand their purpose. What problem do they solve, and when would I use them instead…