issues
search
vultr
/
vultr-cli
Official command line tool for Vultr services
Apache License 2.0
469
stars
75
forks
source link
Refactor commands into packages and finish up the base model for all commands
#398
Closed
optik-aper
closed
6 months ago
optik-aper
commented
6 months ago
Description
This completely re-organizes the code for the CLI.
All commands are now packages.
All commands output through a common interface.
Auth checks happen when appropriate to the API endpoint.
Code is re-worked to share a common structure
Some generically useful stuff like printers for IPs or User Data has been moved out to its own package
Potentially more testable, but that is a focus for the next phase of the re-write... currently tests have been removed until then
Base functionality should all be the same at this point, but there is room to improve
Common error formatting for API messages
More configuration options
Testability
Related Issues
72
155
92
Checklist:
[x] Have you checked to ensure there aren't other open
Pull Requests
for the same update/change?
[x] Have you linted your code locally prior to submission?
[x] Have you successfully ran tests with your changes locally?
Description
This completely re-organizes the code for the CLI.
Related Issues
72
155
92
Checklist: