Skip to content

Commit

Permalink
Merge pull request #71 from wp-cli/permit-edit-no-wp
Browse files Browse the repository at this point in the history
Permit use of `wp config edit` when WP isn't functional
  • Loading branch information
schlessera authored Aug 20, 2018
2 parents e6f9ae2 + c4cd25a commit 044c550
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Config_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ public function create( $_, $assoc_args ) {
*
* # Edit wp-config.php file in a specific editor
* $ EDITOR=vim wp config edit
*
* @when before_wp_load
*/
public function edit() {
$config_path = $this->get_config_path();
Expand Down

0 comments on commit 044c550

Please sign in to comment.