Skip to content

feat: rewrite GreenNode CLI in Go#10

Merged
tvt286 merged 2 commits intomainfrom
feat/golang-cli
Apr 13, 2026
Merged

feat: rewrite GreenNode CLI in Go#10
tvt286 merged 2 commits intomainfrom
feat/golang-cli

Conversation

@tvt286
Copy link
Copy Markdown
Contributor

@tvt286 tvt286 commented Apr 13, 2026

Summary

  • Rewrite entire CLI from Python to Go
  • Single binary (~10MB), zero runtime dependencies
  • All 13 VKS commands + 4 configure commands preserved
  • Remove all Python code (grncli/, tests/, setup.py, etc.)
  • Update all docs, workflows, CLAUDE.md for Go

Highlights

  • cobra CLI framework (same as kubectl, docker, gh)
  • Cross-compile: linux/darwin/windows × amd64/arm64
  • Startup time: ~10ms (was ~300ms Python)
  • Distribution: download binary → run (no pip/Python needed)

Type of change

  • Breaking change
  • New feature
  • Documentation

Checklist

  • All 13 VKS commands working with real API
  • Configure commands working (list, get, set, interactive)
  • Output formats working (JSON, table, text, JMESPath)
  • Auto-pagination, dry-run, delete confirmation, waiter all working
  • Workflows updated for Go (build + test, release with cross-compile)
  • All docs updated (README, CLAUDE.md, CONTRIBUTING, GitHub Pages)

@tvt286 tvt286 merged commit 6267551 into main Apr 13, 2026
4 checks passed
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