This could be very useful for testing, as gofixutres could be used as a library to setup testing data and then clear the database at the end of each test. in order to do that a clear function is needed, as a library function and as a cli command.
For that purpose the CLI should have commands instead of just assuming loading data each time, so these commands could be
- load : which loads data from files
- clear : which clears database
- version: which shows current version of the gofixtures cli
This could be very useful for testing, as gofixutres could be used as a library to setup testing data and then clear the database at the end of each test. in order to do that a clear function is needed, as a library function and as a cli command.
For that purpose the CLI should have commands instead of just assuming loading data each time, so these commands could be