REST routes and WP-CLI commands for Addofy extensions
REST
Extensions use their own REST namespace and register routes with register_rest_route(). The exception is a palette command with an endpoint: that route lives below adba/v1. See palette commands with steps.
WP-CLI
Add your commands under the adba namespace natively:
WP_CLI::add_command( 'adba myplugin', My_Command::class );
Commands Addofy provides
wp adba guides reset <id|login>
wp adba guides reset --all
wp adba palette check <id>
wp adba network index
wp adba colors scan [<plugin>...]
wp adba colors list
wp adba colors enable|disable <plugin>
wp adba colors clear [<plugin>]
wp adba guides resetshows every guide again, for one user or for all users. See guides and tours.wp adba palette check <id>checks a color palette. See dark mode and color palettes.wp adba network indexfills the multisite index for existing data. See multisite.wp adba colorsscans the stylesheets of other plugins and lists, switches or removes the result (experimental module Plugin colors, since 2.31.5). See dark mode and color palettes.