An open API service indexing awesome lists of open source software.

https://github.com/markbates/buffalo-trash


https://github.com/markbates/buffalo-trash

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# Buffalo Trash

This plugin basically runs the following commands:

```bash
$ buffalo new -f; cd ; buffalo db drop -d; buffalo db create -d;
```

## Installation

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

## Usage

```bash
$ buffalo trash
```

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

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

$ ls -la | rg
drwxr-xr-x 26 markbates staff 832 Apr 4 14:57
```

### Options

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

```bash
$ buffalo trash --db-type=mysql --api
```