Skip to content

Conversation

@kacpersaw
Copy link
Contributor

Closes #45

Summary

Replaces spf13/cobra with coder/serpent for the CLI framework.

Changes

  • Migrate from cobra to serpent CLI framework
  • Use serpent's native Env field for environment variable support
  • Use serpent's native Default field for default values
  • Improved help output formatting (Go toolchain style)

No breaking changes

  • All CLI flags remain identical (same names, same shorthand letters)
  • Environment variables remain the same (CODER_URL, CODER_NAMESPACES)
  • Default values unchanged

Closes #45

- Migrate from spf13/cobra to coder/serpent CLI framework
- Use serpent's native environment variable support
- Use serpent's native default value support
- Improved help output formatting
@kacpersaw kacpersaw marked this pull request as ready for review February 5, 2026 09:51
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.

replace cobra with coder/serpent

2 participants