buffalo-trash

command module
v0.0.0-...-837680e Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2018 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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