ludovicofischer/sqlloader — Issue #1: Allow for configuration file
Author: eamelink
Created: 2012-03-01 16:27:17+00:00
State: open

I think the current script is not very handy. This is hardly easier than just loading sql files yourself. I propose the following user interface:

`script list`

This will show a list of all the test-data sets that are available. The output should also indicate if there are any 'destroy' scripts for that test-data set.

`script load NAME`

This will load the named test-data set.

`script reset NAME`

This will first destroy, and then load the named data set.

Note that there are no credentials or database names given, as these are stored in configuration files in each data set.

It would be useful however, to override the configured values, like this:

`script load identities --database identities-test`

This would load the data set 'identities' into the database 'identities-test'