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

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

return array(
	array(
		'name'        => 'wp blaminhor https-redirect get',
		'description' => __( 'Show the current HTTPS Redirect settings.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor https-redirect get',
	),
	array(
		'name'        => 'wp blaminhor https-redirect status',
		'description' => __( 'Print whether forced HTTPS is currently enabled (porcelain output).', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor https-redirect status',
	),
	array(
		'name'        => 'wp blaminhor https-redirect enable',
		'description' => __( 'Enable forced HTTPS (optionally update related flags atomically).', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor https-redirect enable --hsts=true',
	),
	array(
		'name'        => 'wp blaminhor https-redirect disable',
		'description' => __( 'Disable forced HTTPS (other flags preserved).', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor https-redirect disable --yes',
	),
	array(
		'name'        => 'wp blaminhor https-redirect set',
		'description' => __( 'Update HTTPS Redirect settings without toggling on/off.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor https-redirect set --redirect-admin=true',
	),
);
