Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CLI calls into repokid.commands module #255

Merged
merged 5 commits into from
Jul 16, 2020
Merged

Conversation

patricksanders
Copy link
Collaborator

This PR moved the non-CLI-specific logic from the CLI module into the repokid.commands module. The intent of this change is to provide more flexibility for invoking Repokid as a library.

First-order functions called from cli.repokid_cli have been moved to repokid.commands.repo, repokid.commands.role, repokid.commands.role_cache, and repokid.commands.schedule as appropriate. Shared logic is now in the appropriate modules under repokid.utils.

This PR does not change any logic; it's purely refactoring and formatting changes.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.08%) to 62.841% when pulling 67e52c1 on cli-refactor into 7852827 on master.

@patricksanders patricksanders marked this pull request as ready for review July 16, 2020 16:47
@patricksanders patricksanders merged commit 4ba6d54 into master Jul 16, 2020
@patricksanders patricksanders deleted the cli-refactor branch July 16, 2020 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants