send(); if ( $ok ) { WP_CLI::success( 'Report sent.' ); } else { WP_CLI::warning( 'Report not sent — check the recipient email in Settings.' ); } } } WP_CLI::add_command( 'geo', 'AICitare_CLI' );