Aimeos\ShopBundle\Command\SetupCommand::configure PHP Method

configure() protected method

Configures the command name and description.
protected configure ( )
    protected function configure()
    {
        $this->setName('aimeos:setup');
        $this->setDescription('Initialize or update the Aimeos database tables');
        $this->addArgument('site', InputArgument::OPTIONAL, 'Site for updating database entries', 'default');
        $this->addArgument('tplsite', InputArgument::OPTIONAL, 'Template site for creating or updating database entries', 'default');
        $this->addOption('option', null, InputOption::VALUE_REQUIRED, 'Optional setup configuration, name and value are separated by ":" like "setup/default/demo:1"', array());
        $this->addOption('action', null, InputOption::VALUE_REQUIRED, 'Action name that should be executed, i.e. "migrate", "rollback", "clean"', 'migrate');
        $this->addOption('task', null, InputOption::VALUE_REQUIRED, 'Name of the setup task that should be executed', null);
    }