gyv

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 4 Imported by: 0

README ¶

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)

Documentation ¶

The Go Gopher

There is no documentation for this package.

Directories ¶

Path Synopsis
internal
fs
git
mod

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL