Skip to content

feat: stub out new goose cli package#904

Open
mfridman wants to merge 7 commits intomainfrom
mf/goosecli
Open

feat: stub out new goose cli package#904
mfridman wants to merge 7 commits intomainfrom
mf/goosecli

Conversation

@mfridman
Copy link
Copy Markdown
Collaborator

@mfridman mfridman commented Feb 4, 2025

Related to #663

Picks up from #741

This PR adds an experimental new CLI, gated by GOOSE_CLI=1 env variable.

  • uses goose.Provider
  • updated CLI experience. goose is a ~13yo project and predates almost all CLI libraries/frameworks. To evolve it and standardize on a pattern, we use a very simple CLI library
  • will support JSON
  • will support streaming (feat: add support for streaming migration results #899)
  • Better help and usage. More of the CLI is documented and should be easier to traverse
  • ...

ps. This isn't a refactor for the sake of refactoring. In order to support modern CLI features and common requests (like --json support) we need to standardize on some best practices for building the CLI use a lightweight library. (no, not Cobra)

CleanShot 2025-02-03 at 21 32 23@2x

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