<?php
/**
 * WP-CLI command reference for the Fatal Error Recovery module.
 *
 * @package BlaminhorEssentials
 */

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

return array(
	array(
		'name'        => 'wp blaminhor fer status',
		'description' => __( 'Show the last recorded fatal error + the recovery URL.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor fer status',
	),
	array(
		'name'        => 'wp blaminhor fer get-recovery-key',
		'description' => __( 'Print the recovery key (masked unless --reveal).', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor fer get-recovery-key',
	),
	array(
		'name'        => 'wp blaminhor fer regenerate-key',
		'description' => __( 'Generate a fresh recovery key (invalidates the previous URL).', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor fer regenerate-key',
	),
	array(
		'name'        => 'wp blaminhor fer force-disable',
		'description' => __( 'Force-disable a plugin by editing active_plugins directly.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor fer force-disable my-plugin --yes',
	),
	array(
		'name'        => 'wp blaminhor fer force-enable',
		'description' => __( 'Force-enable a plugin by editing active_plugins directly.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor fer force-enable my-plugin',
	),
);
