wp-cli-login-command icon indicating copy to clipboard operation
wp-cli-login-command copied to clipboard

v2.0

Open aaemnnosttv opened this issue 6 years ago • 5 comments

Hey guys, I'm planning to start on v2 of the login command here pretty soon.

I've got a few ideas for it, and any feedback or requests are welcome :)

  • Move all core functionality to the server plugin (no interface). This should make things a bit simpler implementation-wise and the CLI will be more of a "client" for using the plugin. This will also allow for programmatic creation of logins via your own plugin 🎉
  • Move magic login data to a custom table to allow for some new features that aren't possible with the current transient-based persistence.
  • Probably rewrite a bunch of stuff.
  • GitHub Updater?
  • Punch & pie.

aaemnnosttv avatar Aug 26 '17 10:08 aaemnnosttv

First point in particular sounds great!

Moonshot for me would be workflow to make a user reset their password, maybe just a --redirect option that can be passed to send them on to a specific destination.

phlbnks avatar Sep 20 '17 12:09 phlbnks

Yeah, I've thought about adding a --redirect flag.

It's already somewhat possible using the wp_cli_login/login_redirect filter, but that does not allow for configuration at the command line, so you would have to figure that implementation out.

Thanks for the feedback!

aaemnnosttv avatar Sep 20 '17 12:09 aaemnnosttv

Would it be possible to package up as a must-use plugin? I'd really like to use wp login on a wide range of sites I manage without the user's seeing/asking why there is a plugin called "WP CLI Login Command Server". That would also remove the need to install via a wp-cli package. I could simply batch upload some supporting files to the mu-plugins folder and then use the cli commands.

austinginder avatar Apr 20 '18 03:04 austinginder

Yeah, this is something that has come up before (#14) and is something that should be supported 👍

aaemnnosttv avatar Apr 20 '18 07:04 aaemnnosttv

A updater would be awesome, it would be very convenient.

Kyzoe avatar Aug 29 '23 21:08 Kyzoe