Skip to content

cleanup root.go #18

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

Closed
GrantBirki opened this issue Apr 15, 2025 · 0 comments · Fixed by #19
Closed

cleanup root.go #18

GrantBirki opened this issue Apr 15, 2025 · 0 comments · Fixed by #19
Assignees

Comments

@GrantBirki
Copy link
Member

The internal/cmd/root.go file is getting quite long and messy. This issue tracks work to cleanup that file while maintaining the existing functionality and features.

Ideally, all of the code around "displaying" tables, json, and plain text output (the new --output feature), should be moved out to new files. Once in those new files, some extremely simple unit tests should be written against their core logic to ensure they work in the future.

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 a pull request may close this issue.

1 participant