I am aware of WP-CLI's many database interaction functions via "wp db" and its functions for generating wp-config files via "wp config" - However I cannot find a way of using WP-CLI to modify existing database name, username and password settings in wp-config.
I am migrating multiple sites, and the ability to do this would be a time saver.
I am aware that wp config can launch vi editor (wp config edit
), but I am looking for a way to pass the database name, username and password TO WP-CLI to have it do the job for me. Possible?