public function registerStandardCommands()
    {
        $welcomeCommand = new WelcomeCommand();

        $this->add($welcomeCommand);
        $this->add(new NewPluginCommand());
        $this->add(new NewPostCommand());
        $this->add(new NewSiteCommand());
        $this->add(new NewThemeCommand());
        $this->add(new SelfUpdateCommand());
        $this->add(new SiteBuildCommand());
        $this->add(new UpdatePluginCommand());
        $this->add(new AddPluginCommand());
        $this->add(new RemovePluginCommand());

        $this->setDefaultCommand($welcomeCommand->getName());
    }
public function registerStandardCommands()
    {
        $welcomeCommand = new WelcomeCommand();

        $this->add($welcomeCommand);
        $this->add(new NewPluginCommand());
        $this->add(new NewPostCommand());
        $this->add(new NewSiteCommand());
        $this->add(new NewThemeCommand());
        $this->add(new SelfUpdateCommand());
        $this->add(new SiteBuildCommand());
        $this->add(new UpdatePluginCommand());
        $this->add(new AddPluginCommand());
        $this->add(new RemovePluginCommand());

        $this->setDefaultCommand($welcomeCommand->getName());
    }
public function registerStandardCommands ( ) { $ welcomeCommand = new WelcomeCommand ( ) ; $ this -> add ( $ welcomeCommand ) ; $ this -> add ( new NewPluginCommand ( ) ) ; $ this -> add ( new NewPostCommand ( ) ) ; $ this -> add ( new NewSiteCommand ( ) ) ; $ this -> add ( new NewThemeCommand ( ) ) ; $ this -> add ( new SelfUpdateCommand ( ) ) ; $ this -> add ( new SiteBuildCommand ( ) ) ; $ this -> add ( new UpdatePluginCommand ( ) ) ; $ this -> add ( new AddPluginCommand ( ) ) ; $ this -> add ( new RemovePluginCommand ( ) ) ; $ this -> setDefaultCommand ( $ welcomeCommand -> getName ( ) ) ; }
Registers the standard commands of Spress.
Registers the standard commands of Spress .