Closed zmckinnon closed 10 years ago
Additionally, the original version of mite would dump the schema and create an initial migration for you from the existing database if you asked it to. Might be nice to add that option as well.
@zmckinnon added by @dhjohn0 in v0.0.10. if you run mite init
outside of a mite project it launches the wizard.
right now it creates the config file, but will not try to create the database for you. It also allows invalid user input and doesn't require you to enter anything for properties without a default, so you could potentially generate an invalid config at the moment. Fixes for both will be added at some point.
It would be nice to be able to create the mite.config file from the cli, much like 'npm init' works. It would ask questions and create the file:
Edit: added in v0.0.10
TASKS: [x] add wizard [x] support default values [ ] config confirmation [ ] attempt to create the db if it doesn't exist