command prunedb
will drop mysql databases that being with the test_
prefix.
Installation
go get github.com/wayneashleyberry/prunedb
Configuration
This application is configured via the environment. The following environment variables can be used:
KEY TYPE DEFAULT REQUIRED DESCRIPTION
TESTDB_HOST String 127.0.0.1
TESTDB_PORT String 3306
TESTDB_USER String true
TESTDB_PASSWORD String true
Usage
Drop lingering test databases
Usage:
prunedb [flags]
Flags:
--commit commit query
-h, --help help for prunedb