application-passwords
application-passwords copied to clipboard
First swing at making WP-CLI endpoints.
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
@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.
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.
FYI that @georgestephanis discussed this during today's WP-CLI office hours with @schlessera: https://wordpress.slack.com/archives/C02RP4T41/p1600874395007100.