Open atreyasha opened 2 years ago
We should use POSIX's getopts
instead of Bash's getopt
for reasons mentioned here:
https://github.com/archlinux-downgrade/downgrade/pull/196#discussion_r854453235
Since getopt
only support short arguments, we could use these specifically for lower-level scripts that downgrade
calls.
:rocket: Feature Request
Checklist
downgrade
release from the AUR?Background
Currently, we handle CLI argument parsing on our own (i.e. without external tools).
Proposed feature
Our workflow would benefit from using
getopt
to aid CLI argument parsing.