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

configure() protected method

Configures the command name and description.
protected configure ( )
    protected function configure()
    {
        $this->setName('aimeos:account');
        $this->setDescription('Creates new (admin) accounts');
        $this->addArgument('email', InputArgument::REQUIRED, 'E-mail address of the account that should be created');
        $this->addArgument('site', InputArgument::OPTIONAL, 'Site codes to create accounts for like "default unittest" (none for all)');
        $this->addOption('password', null, InputOption::VALUE_REQUIRED, 'Optional password for the account (will ask for if not given)');
        $this->addOption('admin', null, InputOption::VALUE_NONE, 'If account should have administrator privileges');
        $this->addOption('editor', null, InputOption::VALUE_NONE, 'If account should have limited editor privileges');
    }