application-passwords icon indicating copy to clipboard operation
application-passwords copied to clipboard

First swing at making WP-CLI endpoints.

Open georgestephanis opened this issue 8 years ago • 3 comments

Very much a work in progress.

Currently if both are registered, it errors with

Fatal error: Uncaught Exception: 'wp user app-pass' can't have subcommands. in phar:///usr/local/bin/wp/php/class-wp-cli.php:430

Fixes #66

georgestephanis avatar Aug 15 '17 14:08 georgestephanis

@kasparsd how much more work would you like to see on the CLI commands before this would be ready for merge? Getting these more readily available would seem like a nice "developer love" sort of enhancement in the plugin.

jeffpaul avatar Sep 18 '20 15:09 jeffpaul

Getting these more readily available would seem like a nice "developer love" sort of enhancement in the plugin.

Absolutely 💯 !

I think the first phase of work could cover the same functionality as the REST API endpoints here. The code is pretty DRY and clean so it should be relatively simple to implement.

kasparsd avatar Sep 18 '20 15:09 kasparsd

FYI that @georgestephanis discussed this during today's WP-CLI office hours with @schlessera: https://wordpress.slack.com/archives/C02RP4T41/p1600874395007100.

jeffpaul avatar Sep 23 '20 18:09 jeffpaul