src/Cli.php
public function getSchema($command = '') {
        $result = [];
        foreach ($this->commandSchemas as $pattern => $opts) {
            if (fnmatch($pattern, $command)) {
                $result = array_replace_recursive($result, $opts);
            }
        }
        return $result;
    }
public function getSchema($command = '') {
        $result = [];
        foreach ($this->commandSchemas as $pattern => $opts) {
            if (fnmatch($pattern, $command)) {
                $result = array_replace_recursive($result, $opts);
            }
        }
        return $result;
    }
public function getSchema ( $ command = '' ) { $ result = [ ] ; foreach ( $ this -> commandSchemas as $ pattern => $ opts ) { if ( fnmatch ( $ pattern , $ command ) ) { $ result = array_replace_recursive ( $ result , $ opts ) ; } } return $ result ; }
Gets the full cli schema.

@param string $command The name of the command. This can be left blank if there is no command.
@return array Returns the schema that matches the command.
Gets the full cli schema .