* - 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 */ public static function register() { // Register parent command with version subcommand. \WP_CLI::add_command( 'activitypub', '\Activitypub\Cli\Command', array( 'shortdesc' => 'Manage ActivityPub plugin functionality and federation.', ) ); \WP_CLI::add_command( 'activitypub post', '\Activitypub\Cli\Post_Command', array( 'shortdesc' => 'Manage ActivityPub posts (delete or update).', ) ); \WP_CLI::add_command( 'activitypub comment', '\Activitypub\Cli\Comment_Command', array( 'shortdesc' => 'Manage ActivityPub comments (delete or update).', ) ); \WP_CLI::add_command( 'activitypub actor', '\Activitypub\Cli\Actor_Command', array( 'shortdesc' => 'Manage ActivityPub actors (delete or update).', ) ); \WP_CLI::add_command( 'activitypub outbox', '\Activitypub\Cli\Outbox_Command', array( 'shortdesc' => 'Manage ActivityPub outbox items (undo or reschedule).', ) ); \WP_CLI::add_command( 'activitypub self-destruct', '\Activitypub\Cli\Self_Destruct_Command', array( 'shortdesc' => 'Remove the entire blog from the Fediverse.', ) ); \WP_CLI::add_command( 'activitypub move', '\Activitypub\Cli\Move_Command', array( 'shortdesc' => 'Move the blog to a new URL.', ) ); \WP_CLI::add_command( 'activitypub follow', '\Activitypub\Cli\Follow_Command', array( 'shortdesc' => 'Follow a remote ActivityPub user.', ) ); \WP_CLI::add_command( 'activitypub cache', '\Activitypub\Cli\Cache_Command', array( 'shortdesc' => 'Manage remote media cache (clear or show status).', ) ); \WP_CLI::add_command( 'activitypub fetch', '\Activitypub\Cli\Fetch_Command', array( 'shortdesc' => 'Fetch a remote URL with a signed ActivityPub request.', ) ); \WP_CLI::add_command( 'activitypub stats', '\Activitypub\Cli\Stats_Command', array( 'shortdesc' => 'Manage ActivityPub statistics (collect, compile or send).', ) ); } }