parent = false; $this->name = 'ee'; $this->shortdesc = 'Command-line control panel for Nginx Server to manage WordPress sites.'; } /** * Get the human-readable long description. * * @return string */ public function get_longdesc() { return $this->get_global_params( true ); } /** * Find a subcommand registered on the root * command. * * @param array $args * @return \EE_CLI\Dispatcher\Subcommand|false */ public function find_subcommand( &$args ) { $command = array_shift( $args ); Utils\load_command( $command ); if ( !isset( $this->subcommands[ $command ] ) ) { return false; } return $this->subcommands[ $command ]; } /** * Get all registered subcommands. * * @return array */ public function get_subcommands() { Utils\load_all_commands(); return parent::get_subcommands(); } }