Skip to content

markbates/buffalo-trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buffalo Trash

This plugin basically runs the following commands:

$ buffalo new <app-name> -f; cd <app-name>; buffalo db drop -d; buffalo db create -d;

Installation

$ go get -u -v github.com/markbates/buffalo-trash

Usage

$ buffalo trash <app-name>

NOTE: You must NOT be in your project directory when you run this. You should be directly above it.

$ pwd
$GOPATH/src/github.com/markbates

$ ls -la | rg <app-name>
drwxr-xr-x   26 markbates  staff       832 Apr  4 14:57 <app-name>

Options

You can pass in all of the same options you can pass to buffalo new.

$ buffalo trash <app-name> --db-type=mysql --api

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages