One gap in the abilities of WP CLI at the moment is the ability to modify an already existing wp-config.php file.
v1.2 introduced the --force
flag to overwrite an existing one, but that is the sledgehammer option – so I started working on it myself. I have put a very initial version on GitHub and would welcome feedback and pull-requests. Please don’t use this on a live site!
Is this something you would use? What features do you think it should have? Let me know in the comments.
Leave a Reply