1 Commits
Author SHA1 Message Date
Brian Smith d87492d54e Create autopkgcmd module to house subcommands
The main `autopkg` module is quite substantial in size. This makes it                                                                                                          harder to learn how the tool fits together. It also impacts confidence
that changes have not broken or introduced implicit coupling, increases
code duplication, makes code review more challenging, and complicates                                                                                                          incrementally adding typing.

In support of moving the `search` command to a dedicated module, a few
utility functions for github access have been consolidated, and a case
of duplicated github search queries has been consolidated. The logic for
initializing or fetching a github token has been refactored to reduce
code duplication as well. Lastly, more type annotations have been added.
as well. More typing was added.
2020-06-24 18:44:52 -07:00