https://github.com/markbates/buffalo-trash
https://github.com/markbates/buffalo-trash
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/markbates/buffalo-trash
- Owner: markbates
- License: mit
- Created: 2018-04-04T19:05:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T15:42:18.000Z (over 7 years ago)
- Last Synced: 2025-02-07T14:39:26.852Z (over 1 year ago)
- Language: Go
- Size: 913 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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
```