Conversation
52ce9d0 to
419c32f
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 48a1f50. Configure here.
|
You have used all of your free Bugbot PR reviews. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
671c919 to
ee436e5
Compare
This relocates the `main` package to `cmd/fastbelt`, allowing to work as users will probably expect. Also updates related documentation and codegen examples.
|
Oops, clicked the wrong button. |
msujew
left a comment
There was a problem hiding this comment.
This looks really nice, thank you! Just a few minor improvements, see below.
|
@msujew, sorry for the churn, but I realized there's a more intuitive behavior for the flags. Now |
msujew
left a comment
There was a problem hiding this comment.
sorry for the churn
No worries - I also think that the latest iteration on package/module handling makes more sense!
msujew
left a comment
There was a problem hiding this comment.
That works great! Thanks a lot for the effort, much appreciated :)
| return runScaffoldCLI(args[1:]) | ||
| } | ||
| } | ||
| return runLegacyGenerate(args) |
There was a problem hiding this comment.
We should put this behind a generate command arg.

This implements a
fastbelt scaffoldcommand.It can produce an entire Go module or just add a package to an existing module.
The generated code includes the VS Code extension, LSP server, and
go:generatewiring, as well as a placeholder.fbfile.Partially completes #57 (the scaffolding part).
This is a big PR but that's inevitable when you're introducing scaffolding... there are a bunch of templates involved.