* - wp activitypub comment * - wp activitypub actor * - wp activitypub outbox * - wp activitypub cache [--type=] * - wp activitypub self-destruct [--status] [--yes] * - wp activitypub move * - wp activitypub follow * - wp activitypub stats * - wp activitypub fetch * - wp activitypub blurhash backfill [--dry-run] [--limit=] [--force] */ public static function register() { // Register parent command with version subcommand. \WP_CLI::add_command( 'activitypub', Command::class, array( 'shortdesc' => 'Manage ActivityPub plugin functionality and federation.', ) ); \WP_CLI::add_command( 'activitypub post', Post_Command::class, array( 'shortdesc' => 'Manage ActivityPub posts (delete or update).', ) ); \WP_CLI::add_command( 'activitypub comment', Comment_Command::class, array( 'shortdesc' => 'Manage ActivityPub comments (delete or update).', ) ); \WP_CLI::add_command( 'activitypub actor', Actor_Command::class, array( 'shortdesc' => 'Manage ActivityPub actors (delete or update).', ) ); \WP_CLI::add_command( 'activitypub outbox', Outbox_Command::class, array( 'shortdesc' => 'Manage ActivityPub outbox items (undo or reschedule).', ) ); \WP_CLI::add_command( 'activitypub self-destruct', Self_Destruct_Command::class, array( 'shortdesc' => 'Remove the entire blog from the Fediverse.', ) ); \WP_CLI::add_command( 'activitypub move', Move_Command::class, array( 'shortdesc' => 'Move the blog to a new URL.', ) ); \WP_CLI::add_command( 'activitypub follow', Follow_Command::class, array( 'shortdesc' => 'Follow a remote ActivityPub user.', ) ); \WP_CLI::add_command( 'activitypub cache', Cache_Command::class, array( 'shortdesc' => 'Manage remote media cache (clear or show status).', ) ); \WP_CLI::add_command( 'activitypub fetch', Fetch_Command::class, array( 'shortdesc' => 'Fetch a remote URL with a signed ActivityPub request.', ) ); \WP_CLI::add_command( 'activitypub stats', Stats_Command::class, array( 'shortdesc' => 'Manage ActivityPub statistics (collect, compile or send).', ) ); \WP_CLI::add_command( 'activitypub blurhash', Blurhash_Command::class, array( 'shortdesc' => 'Backfill Blurhash placeholders for image attachments.', ) ); } }