示例#1
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('format:jshint');
     $this->setDescription('JSHint configuration files formatting');
     $this->addArgument('file', InputArgument::REQUIRED, 'Target .jshintrc or jshint.json');
     $this->setAliases(['jshint:format']);
     parent::configure();
 }
示例#2
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('format:box');
     $this->setDescription('PHP box2 configuration file formatting');
     $this->addArgument('file', InputArgument::REQUIRED, 'Target box.json');
     $this->setAliases(['box:format']);
     parent::configure();
 }
示例#3
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('format:bower');
     $this->setDescription('Bower configuration files formatting');
     $this->addArgument('file', InputArgument::REQUIRED, 'Target bower.json or .bower.json');
     $this->setAliases(['bower:format']);
     parent::configure();
 }
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('format:contribute');
     $this->setDescription('Mozilla\'s contribute.json configuration file formatting');
     $this->addArgument('file', InputArgument::REQUIRED, 'Target contribute.json');
     $this->setAliases(['contribute:format']);
     parent::configure();
 }
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('format:composer');
     $this->setDescription('PHP Composer configuration file formatting');
     $this->addArgument('file', InputArgument::REQUIRED, 'Target composer.json');
     $this->setAliases(['composer:format']);
     parent::configure();
 }