CLI Overview
A goframe
executable is generated in cmd/cli/main.go
. Running bin/goframe
gives access to project utilities like migrations, workers and code generators.
bin/goframe --help
bin/goframe
caches the compiled binary in ~/.goframe/<module_hash>/bin/goframe
. It rebuilds the CLI when cmd/cli/main.go
changes and falls back to the previous binary after one go mod tidy
attempt if the build fails.Commands are implemented with Cobra . The default root command already exposes subcommands for tasks, database migrations and generators.
Last updated on