Skip to content

Modernize CLI dispatch and harden command behavior#9

Merged
aaronhurt merged 5 commits intomainfrom
ahurt/cli-maintenance
Mar 16, 2026
Merged

Modernize CLI dispatch and harden command behavior#9
aaronhurt merged 5 commits intomainfrom
ahurt/cli-maintenance

Conversation

@aaronhurt
Copy link
Owner

@aaronhurt aaronhurt commented Mar 16, 2026

Summary

  • replace the archived mitchellh/cli dependency with stdlib dispatch via realMain
  • improve top-level command handling plus command/backend error paths
  • fix Cloudflare create-vs-update behavior and add focused tests
  • update actions workflows and golangci-lint version
  • remove deprecated version.go

Propagate command flag parse errors and remove global logger.
Fix Cloudflare create-vs-update behavior and add focused tests.
Move top-level command dispatch into realMain using stdlib.
Remove mitchellh/cli and tidy module dependencies.
Extract command factories and runner helper into commands.go.
Improve top-level usage handling for invalid flags and commands.
@aaronhurt aaronhurt merged commit 794831b into main Mar 16, 2026
2 checks passed
@aaronhurt aaronhurt deleted the ahurt/cli-maintenance branch March 16, 2026 22:46
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 this pull request may close these issues.

1 participant