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 to be more DRY #89

Open
paalbra opened this issue Jan 29, 2019 · 0 comments
Open

Refactor cli to be more DRY #89

paalbra opened this issue Jan 29, 2019 · 0 comments
Milestone

Comments

@paalbra
Copy link
Contributor

paalbra commented Jan 29, 2019

A lot of the code in cli.py (the cli commands) follow similar patterns. They take some input, perform some API calls and logic, and generate output.

Parts of the code is very similar across functions.

The code should be refactored to use the principle of Dont Repeat Yourself.

@paalbra paalbra added this to the 3.0.0 milestone Jan 29, 2019
@paalbra paalbra modified the milestones: 3.0.0, 2.x Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant