docs/references/gofrcli/page.md
Managing repetitive tasks and maintaining consistency across large-scale applications is challenging!
GoFr CLI provides the following:
go version
To get started with GoFr CLI, use the below commands
go install gofr.dev/cli/gofr@latest
To check the installation:
gofr version
The CLI can be run directly from the terminal after installation. Here’s the general syntax:
gofr <subcommand> [flags]=[arguments]
The CLI groups its functionality into four commands. See each subpage for full reference:
gofr init — initialize a new GoFr project with the standard layout.gofr migrate — create database migration templates with timestamped filenames and an auto-generated registry.gofr wrap grpc — generate gRPC server/client wrappers with built-in tracing, metrics, and logging.gofr store — generate a type-safe data-access layer from YAML schema definitions.