vultr / vultr-cli

Official command line tool for Vultr services
Apache License 2.0
469 stars 75 forks source link

Make command Run error return consistent #419

Closed optik-aper closed 4 months ago

optik-aper commented 4 months ago

Description

v3 moved errors within the cobra commands so that error display and all of that would be consistent where possible. Some commands were still using the printer or fmt to output errors so this PR brings the stragglers up to spec.

Related Issues

Checklist:

github-actions[bot] commented 4 months ago

Unit Tests and Coverage

Show Output ``` ? github.com/vultr/vultr-cli/v3 [no test files] ```

Pusher: @optik-aper, Action: pull_request_target

github-actions[bot] commented 4 months ago

Unit Tests and Coverage

Show Output ``` ? github.com/vultr/vultr-cli/v3 [no test files] ```

Pusher: @optik-aper, Action: pull_request_target

github-actions[bot] commented 4 months ago

Unit Tests and Coverage

Show Output ``` ? github.com/vultr/vultr-cli/v3 [no test files] ```

Pusher: @optik-aper, Action: pull_request_target

github-actions[bot] commented 4 months ago

Unit Tests and Coverage

Show Output ``` ? github.com/vultr/vultr-cli/v3 [no test files] ```

Pusher: @optik-aper, Action: pull_request_target