aaemnnosttv / wp-cli-login-command

Log in to WordPress with secure passwordless magic links.
https://aaemnnost.tv/wp-cli-commands/login/
MIT License
292 stars 47 forks source link

mu-plugins #71

Closed stefanpejcic closed 9 months ago

stefanpejcic commented 9 months ago

Hi, is it possible to create a flag for the install command so that instead of always putting the file in plugins we have an option to use mu-plugins instead?

Current:

wp-content/plugins/wp-cli-login-server/wp-cli-login-server.php

Preferred:

wp-content/mu-plugins/wp-cli-login-server.php

Cheers!

aaemnnosttv commented 9 months ago

Hey, thanks for the request! This flag actually already exists, I'm a bit surprised that it's missing in the README – sorry about that!

The command is

wp login install --mu

Cheers!

stefanpejcic commented 9 months ago

Great, thank you for the info 🙏