Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Latest commit

 

History

History
49 lines (33 loc) · 1.22 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.22 KB

gyv - The official Goyave CLI

Version Build Status Coverage Status

🚧 Work in progress

The official CLI for the Goyave REST API framework.

  • Project creation
  • Scaffolding and quick prototyping
  • Utility: seeders, migrations, routes list and more

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)