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

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

return array(
	array(
		'name'        => 'wp blaminhor disable-comments get',
		'description' => __( 'Show the current Disable Comments settings + counts of open comments.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor disable-comments get',
	),
	array(
		'name'        => 'wp blaminhor disable-comments set',
		'description' => __( 'Update Disable Comments settings.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor disable-comments set --disable-comments=true',
	),
	array(
		'name'        => 'wp blaminhor disable-comments close-existing',
		'description' => __( 'Close comments on every published post (sets comment_status to closed).', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor disable-comments close-existing --yes',
	),
	array(
		'name'        => 'wp blaminhor disable-comments delete-all',
		'description' => __( 'Delete every comment and its metadata in the database.', 'blaminhor-essentials' ),
		'example'     => 'wp blaminhor disable-comments delete-all --yes',
	),
);
