Newscoop\Tools\Console\Command\CreateUserCommand::configure PHP Method

configure() protected method

See also: Console\Command\Command
protected configure ( )
    protected function configure()
    {
        $this->setName('user:create')->setDescription('Create New user.')->addArgument('email', InputArgument::REQUIRED, 'User email')->addArgument('pasword', InputArgument::REQUIRED, 'User password')->addArgument('username', InputArgument::REQUIRED, 'User login name')->addArgument('firstName', InputArgument::OPTIONAL, 'User first name')->addArgument('lastName', InputArgument::OPTIONAL, 'User last name')->addArgument('is_public', InputArgument::OPTIONAL, 'User is public', true)->addArgument('publication', InputArgument::OPTIONAL, 'Publication number assigned to user')->addArgument('roles', InputArgument::IS_ARRAY | InputArgument::OPTIONAL, 'User roles (separate multiple names with a space)')->addOption('isAdmin', null, InputOption::VALUE_NONE, 'If user should have access to admin interface');
    }
CreateUserCommand