You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: introduce RunContext and runCommand to eliminate command boilerplate
Add a thin command runner (command.go) that centralises client creation,
output writer, and printer setup. All 22 API-backed commands now go
through runCommand, removing duplicated newClient/newPrinter/writeResult
calls. Convenience helpers PrintList, PrintTotal, and WriteResult on
RunContext standardise pagination footers and success messages.
Net effect: -108 lines across 9 files with zero behavioural changes.
0 commit comments