Home

Awesome

gyv - The official Goyave CLI

Version Build Status Coverage Status

🚧 Work in progress

The official CLI for the Goyave REST API framework.

Install

Minimum Go version: 1.16

go install goyave.dev/gyv@latest

Usage

# Create a new project
gyv create project

# Create a new controller named "hello"
gyv create controller --name "hello"

# Create a new model named "User"
gyv create model --name "user"

# Create a new middleware named "Auth"
gyv create middleware --name "auth"

# Database operations
gyv db migrate
gyv db seed
gyv db clear

# Generate OpenAPI3 specification of your application
gyv openapi

License

gyv is MIT Licensed. Copyright (c) 2021 Jérémy LAMBERT (SystemGlitch) and Louis LAURENT (ulphidius)