php/WP_CLI/Dispatcher/RootCommand.php
public function find_subcommand( &$args ) {
		$command = array_shift( $args );

		Utils\load_command( $command );

		if ( ! isset( $this->subcommands[ $command ] ) ) {
			return false;
		}

		return $this->subcommands[ $command ];
	}
public function find_subcommand( &$args ) {
		$command = array_shift( $args );

		Utils\load_command( $command );

		if ( ! isset( $this->subcommands[ $command ] ) ) {
			return false;
		}

		return $this->subcommands[ $command ];
	}
public function find_subcommand ( & $ args ) { $ command = array_shift ( $ args ) ; Utils \ load_command ( $ command ) ; if ( ! isset ( $ this -> subcommands [ $ command ] ) ) { return false ; } return $ this -> subcommands [ $ command ] ; }
Find a subcommand registered on the root
command.

@param array $args
@return \WP_CLI\Dispatcher\Subcommand|false
Find a subcommand registered on the root command .