GoFr CLI is the command line tool for initializing projects and performing tasks in accordance with GoFr framework. Users can use this CLI from initializing a simple hello world program using GoFr to writing migrations for your databases.
init
- Initializes a new GoFr project with a basic "Hello World!" program.migrate create
- Creates boilerplate code for database migrations to modify your schema.wrap grpc
- Creates gRPC handlers with GoFr context based on proto files.version
- Checks the current version of the GoFr CLI tool.
To get started with GoFr CLI, use the below commands
go install gofr.dev/cli/gofr@latest
To check the installation:
gofr version
To securely clone the GoFr CLI repository, you can use HTTPS or SSH:
https://github.com/gofr-dev/gofr-cli.git
git@github.com:gofr-dev/gofr-cli.git
Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines.
If your PR is merged, or if you contribute by writing articles or promoting GoFr CLI, we invite you to fill out this form to claim your GoFr merchandise as a token of our appreciation!