Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.9 KB

File metadata and controls

34 lines (28 loc) · 1.9 KB

TODO

Current Go CLI

  • Add unit tests for account name validation, snapshot creation, account switching, and current-account detection.
  • Replace direct writes with atomic temp-file writes where state files can be partially written.
  • Replace handwritten argument parsing with Cobra.
  • Add CLI workflow tests for command parsing and failures.
  • Add --json output for scripts and automation.
  • Add --codex-home <path> flag support alongside the existing CODEX_HOME override.
  • Add a state compatibility note for existing account snapshots.
  • Add repository tests that assert CI and release workflows keep running the required checks.
  • Add a tested npm launcher that resolves per-platform binary packages.
  • Add tested npm package manifests for each supported platform binary.
  • Add release workflow validation that stages binaries into npm packages and dry-runs package creation.
  • Replace single-binary npm packaging with per-platform packages before publishing npm broadly.

Go Migration

  • Create a Go module after the TypeScript CLI behavior is covered by tests.
  • Port command parsing and account operations behind small packages.
  • Preserve command compatibility for save, use, list, and current.
  • Produce cross-platform release binaries with checksums.
  • Sign release binaries.
  • Add Homebrew formula release automation after Go binaries exist.

Distribution

  • Publish npm package from GitHub Actions after platform binary packaging is added.
  • Publish GitHub Release artifacts on version tags.
  • Add Homebrew tap once the Go binary release is stable.
  • Document required NPM_TOKEN and HOMEBREW_TAP_TOKEN GitHub Actions secrets.
  • Configure the documented release secrets in GitHub Actions before tagging.
  • Defer Scoop, Winget, Arch AUR, and Docker distribution evaluation until after the v0.2.0 release.