andreascreten/wp-cli — Issue #65: Create wp-config.php automatically?
Author: ericandrewlewis
Created: 2012-02-07 18:16:43+00:00
State: open

Now that `wp download` is part of source, there is a gap between that command and `wp install` which I'd be interested in - automatically creating a wp-config.php file given the database details via arguments.

Perhaps something like this:
```wp core config --database_name=db --user=db_user --user_pass=db_user_pass```

And these parameters in combination with sed could parse wp-config-sample.php and create a wp-config.php.

Other parameters could be included... perhaps for setting up a multisite install, etc.

Just putting this out to start a discussion, anybody like?