fedmod currently uses click to display download progress bars when fetching metadata, but is still using argparse as its main argument parser.
fedmod
argparse
When I added the click dependency, my intent was always to switch the argument parsing and subcommand dispatch over as well, and I think it makes sense to do it before https://pagure.io/modularity/fedmod/issue/4 adds a new --dataset option everywhere.
--dataset
Metadata Update from @ncoghlan: - Issue assigned to ncoghlan
Pull request: https://pagure.io/modularity/fedmod/pull-request/55
Metadata Update from @ncoghlan: - Issue close_status updated to: RESOLVED - Issue status updated to: Closed (was: Open)
We still use a custom wrapper in order to standardise some of the exception handling, but the bulk of the CLI heavy lifting is now handled via click decorators.