public function cache( $args ) {
		list($action) = $args;
		if ( 'delete' === $action ) {
			Singleton::get_instance( 'CLI_Common', $this )->delete_all_cached_data();
			WP_CLI::success( 'GitHub Updater cache has been cleared.' );
		} else {
			WP_CLI::error( sprintf( 'Incorrect command syntax, see %s for proper syntax.', '`wp help github-updater cache`' ) );
		}
		WP_CLI::success( 'WP-Cron is now running.' );
		WP_CLI::runcommand( 'cron event run --due-now' );
	}
public function cache( $args ) {
		list($action) = $args;
		if ( 'delete' === $action ) {
			Singleton::get_instance( 'CLI_Common', $this )->delete_all_cached_data();
			WP_CLI::success( 'GitHub Updater cache has been cleared.' );
		} else {
			WP_CLI::error( sprintf( 'Incorrect command syntax, see %s for proper syntax.', '`wp help github-updater cache`' ) );
		}
		WP_CLI::success( 'WP-Cron is now running.' );
		WP_CLI::runcommand( 'cron event run --due-now' );
	}
public function cache ( $ args ) { list ( $ action ) = $ args ; if ( 'delete' === $ action ) { Singleton :: get_instance ( 'CLI_Common' , $ this ) -> delete_all_cached_data ( ) ; WP_CLI :: success ( 'GitHub Updater cache has been cleared.' ) ; } else { WP_CLI :: error ( sprintf ( 'Incorrect command syntax, see %s for proper syntax.' , '`wp help github-updater cache`' ) ) ; } WP_CLI :: success ( 'WP-Cron is now running.' ) ; WP_CLI :: runcommand ( 'cron event run --due-now' ) ; }
Clear GitHub Updater cache.

## OPTIONS

<delete>
: delete the cache

## EXAMPLES

wp github-updater cache delete

@param array $args Array of arguments.

@subcommand cache
Clear GitHub Updater cache .