title: Add a custom field to FOSUserBundle command is not working
body: <p>I have been looking and trying to add a custom command to <code>FOSUserBundle</code> but have been impossible :(</p>
  
  <p>I do triple check the structure of my files, <code>CreateUserCommand</code> is in <code>Command</code> folder and <code>UserManipulator</code> is in <code>Util</code> folder. </p>
  
  <p>I also tried to relaunch the server and to change the command but is not working:</p>
  
  <p><strong>The command line</strong></p>
  
  <pre><code>php app/console fos:user:create root test@example.com admin gabriel --super-admin
  </code></pre>
  
  <p><strong>The error:</strong></p>
  
  <pre><code>[RuntimeException]   
    Too many arguments. 
  </code></pre>
  
  <p><strong>My Bundle main file:</strong></p>
  
  <pre><code>&lt;?php
  
  namespace INCES\ComedorBundle;
  
  use Symfony\Component\HttpKernel\Bundle\Bundle;
  
  class INCESComedorBundle extends Bundle
  {
      public function getParent()
      {
          return 'FOSUserBundle';
      }
  }
  </code></pre>
  
  <p><strong>My CreateUserCommand File:</strong></p>
  
  <pre><code>&lt;?php
  
  namespace INCES\ComedorBundle\Command;
  
  use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
  use Symfony\Component\Console\Input\InputArgument;
  use Symfony\Component\Console\Input\InputOption;
  use Symfony\Component\Console\Input\InputInterface;
  use Symfony\Component\Console\Output\OutputInterface;
  use FOS\UserBundle\Model\User;
  
  /**
   * @author Matthieu Bontemps &lt;matthieu@knplabs.com&gt;
   * @author Thibault Duplessis &lt;thibault.duplessis@gmail.com&gt;
   * @author Luis Cordova &lt;cordoval@gmail.com&gt;
   */
  class CreateUserCommand extends ContainerAwareCommand
  {
      /**
       * @see Command
       */
      protected function configure()
      {
          $this
              -&gt;setName('fos:user:create')
              -&gt;setDescription('Create a user.')
              -&gt;setDefinition(array(
                  new InputArgument('username', InputArgument::REQUIRED, 'The username'),
                  new InputArgument('email', InputArgument::REQUIRED, 'The email'),
                  new InputArgument('password', InputArgument::REQUIRED, 'The password'),
                  new InputArgument('nombre', InputArgument::REQUIRED, 'The nombre'),
                  new InputOption('super-admin', null, InputOption::VALUE_NONE, 'Set the user as super admin'),
                  new InputOption('inactive', null, InputOption::VALUE_NONE, 'Set the user as inactive'),
              ))
              -&gt;setHelp(&lt;&lt;&lt;EOT
  //..
              );
      }
  
      /**
       * @see Command
       */
      protected function execute(InputInterface $input, OutputInterface $output)
      {
          $username   = $input-&gt;getArgument('username');
          $email      = $input-&gt;getArgument('email');
          $password   = $input-&gt;getArgument('password');
          $nombre     = $input-&gt;getArgument('nombre');
          $inactive   = $input-&gt;getOption('inactive');
          $superadmin = $input-&gt;getOption('super-admin');
  
          $manipulator = $this-&gt;getContainer()-&gt;get('inces_comedor.util.user_manipulator');
          $manipulator-&gt;create($username, $password, $email, $nombre, !$inactive, $superadmin);
  
          $output-&gt;writeln(sprintf('Created user &lt;comment&gt;%s&lt;/comment&gt;', $username));
      }
  
      /**
       * @see Command
       */
      protected function interact(InputInterface $input, OutputInterface $output)
      {
          // ...
  
          if (!$input-&gt;getArgument('nombre')) {
              $nombre = $this-&gt;getHelper('dialog')-&gt;askAndValidate(
                  $output,
                  'Please choose a nombre:',
                  function($nombre) {
                      if (empty($nombre)) {
                          throw new \Exception('Nombre can not be empty');
                      }
  
                      return $nombre;
                  }
              );
              $input-&gt;setArgument('nombre', $nombre);
          }
      }
  }
  </code></pre>
  
  <p><strong>My UserManipulator file:</strong></p>
  
  <pre><code>&lt;?php
  
  namespace INCES\ComedorBundle\Util;
  
  use FOS\UserBundle\Model\UserInterface;
  use FOS\UserBundle\Model\UserManagerInterface;
  
  /**
   * Executes some manipulations on the users
   *
   * @author Christophe Coevoet &lt;stof@notk.org&gt;
   * @author Luis Cordova &lt;cordoval@gmail.com&gt;
   */
  class UserManipulator
  {
      /**
       * User manager
       *
       * @var UserManagerInterface
       */
      private $userManager;
  
      public function __construct(UserManagerInterface $userManager)
      {
          $this-&gt;userManager = $userManager;
      }
  
      /**
       * Creates a user and returns it.
       *
       * @param string  $username
       * @param string  $password
       * @param string  $email
       * @param string  $nombre
       * @param Boolean $active
       * @param Boolean $superadmin
       *
       * @return \FOS\UserBundle\Model\UserInterface
       */
      public function create($username, $password, $email, $nombre, $active, $superadmin)
      {
          $user = $this-&gt;userManager-&gt;createUser();
          $user-&gt;setUsername($username);
          $user-&gt;setEmail($email);
          $user-&gt;setNombre($nombre);
          $user-&gt;setPlainPassword($password);
          $user-&gt;setEnabled((Boolean) $active);
          $user-&gt;setSuperAdmin((Boolean) $superadmin);
          $this-&gt;userManager-&gt;updateUser($user);
  
          return $user;
      }
  }
  </code></pre>