<?php
/**
 * WP-CLI command reference for the SEO Manager module.
 *
 * @package BlaminhorEssentials
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

return array(
	array(
		'name'        => 'wp blaminhor seo get',
		'description' => __( 'Show the SEO Manager configuration.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor seo get',
	),
	array(
		'name'        => 'wp blaminhor seo set',
		'description' => __( 'Update the most-used SEO Manager settings.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor seo set --sitemap-enabled=true',
	),
	array(
		'name'        => 'wp blaminhor seo list-urls',
		'description' => __( 'Print every URL that the dynamic sitemap currently exposes.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor seo list-urls --format=count',
	),
	array(
		'name'        => 'wp blaminhor seo regenerate-sitemap',
		'description' => __( 'Force a refresh of the sitemap rewrite rules and bust the cache.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor seo regenerate-sitemap',
	),
	array(
		'name'        => 'wp blaminhor seo ping-engines',
		'description' => __( 'Ping search engines about the sitemap URL.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor seo ping-engines',
	),
	array(
		'name'        => 'wp blaminhor seo meta-get',
		'description' => __( 'Show every SEO meta field stored on a given post.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor seo meta-get 42',
	),
	array(
		'name'        => 'wp blaminhor seo audit',
		'description' => __( 'Audit SEO completeness across posts and surface issues.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor seo audit --issues-only',
	),
	array(
		'name'        => 'wp blaminhor seo export',
		'description' => __( 'Dump SEO Manager settings as a JSON envelope on STDOUT.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor seo export > seo-manager.json',
	),
);
