<?php

namespace WPD_Platform;

/**
 * CLI Command Handler
 *
 * Handles WordPress CLI commands for the platform.
 *
 * @package WPD_Platform
 * @since 1.0.0
 */
class CLI extends \WP_CLI_Command {

	/**
	 * Get the platform token.
	 *
	 * Outputs the platform token to the CLI.
	 *
	 * ## EXAMPLES
	 *
	 *     wp dollie get_token
	 *
	 * @since 1.0.0
	 * @return void
	 */
	public function get_token() {
		\WP_CLI::log( Plugin::instance()->get_host()->get_token() );
	}
}
