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

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

return array(
	array(
		'name'        => 'wp blaminhor hide-login get',
		'description' => __( 'Show the current Hide Login settings.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor hide-login get',
	),
	array(
		'name'        => 'wp blaminhor hide-login status',
		'description' => __( 'Print whether hide-login is currently enabled (porcelain).', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor hide-login status',
	),
	array(
		'name'        => 'wp blaminhor hide-login enable',
		'description' => __( 'Enable the Hide Login feature.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor hide-login enable --slug=back-door',
	),
	array(
		'name'        => 'wp blaminhor hide-login disable',
		'description' => __( 'Disable Hide Login (wp-login.php becomes reachable again).', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor hide-login disable --yes',
	),
	array(
		'name'        => 'wp blaminhor hide-login set',
		'description' => __( 'Update Hide Login settings without toggling on/off.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor hide-login set --slug=admin-panel',
	),
);
