Commit bce139e
committed
feat(generate): add CLI command generation and improve app structure handling
- Introduced a new subcommand for generating CLI commands within the `GeneratePlugin`, allowing users to create commands with specified flags and parent nesting.
- Enhanced the `generateApp` function to differentiate between CLI and web applications, adjusting directory structures and configuration file generation accordingly.
- Implemented caching for the latest Forge version to streamline dependency management in generated projects.
- Updated the `.forge.yaml` and `go.mod` generation to reflect the application type and version dynamically.
This update improves the usability of the Forge CLI for developers creating command-line applications.1 parent 22b1827 commit bce139e
4 files changed
Lines changed: 716 additions & 20 deletions
0 commit comments