srithon/BrightnessControl

Switch to clap for argument parsing

Closed this issue · 0 comments

clap offers far more features than getopts, and will allow our CLI to be much cleaner.

getopts only supports flags, and as the interface continues to grow it is becoming unsustainable.

Moving functionality into subcommands using clap would be a big improvement.