Skip to content

goforge app serve & Binary Commands ​

Proxies directly to go run app/main.go inside your project.

Syntax ​

bash
goforge app serve [args...]

serve uses DisableFlagParsing: true, forwarding all arguments and flags verbatim to app/main.go:

  • With no args: executes go run app/main.go serve.
  • With args: executes go run app/main.go <args...>.

Common Invocations ​

bash
# Start HTTP + gRPC with interactive TUI dashboard
goforge app serve

# Start with plain terminal logs (no TUI)
goforge app serve --no-tui

# Run a custom command created via gen:command
goforge app serve stats:report

# Run built-in app binary commands directly
go run ./app serve --no-tui
go run ./app migrate
go run ./app db:seed --class=DatabaseSeeder
go run ./app loader

Compiled Binary

In production, running ./goforge with no arguments executes serve by default. Pass --no-tui in containers and systemd units (./goforge serve --no-tui).

Released under the Apache-2.0 License.