Beispiel #1
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('testing:security-updates')->setDescription('Check for Drupal security updates');
 }
Beispiel #2
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('repo:add')->setDescription('Add the repo to the project')->addArgument('developer-fork', InputArgument::OPTIONAL, 'What is your project fork?');
 }
Beispiel #3
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('testing:phpunit')->setDescription('Run the projects phpunit tests');
 }
Beispiel #4
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('repo:add-hooks')->setDescription('Add the repo hooks to the project');
 }
Beispiel #5
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('vm:destroy')->setDescription('Remove the DrupalVM');
 }
Beispiel #6
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('testing:validate-makefile')->setDescription('Validate makefile on codebase');
 }
Beispiel #7
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('vm:add')->setDescription('Add the files for the DrupalVM');
 }
Beispiel #8
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:publish')->setDescription('Deploy codebase and build artifacts.')->addArgument('tag', InputArgument::REQUIRED, 'Which tag to sync.')->addArgument('target-repo', InputArgument::REQUIRED, 'Which repo is the sync?')->addArgument('target-branch', InputArgument::REQUIRED, 'Which branch on the target?')->addOption('process-tag', 'pt', InputOption::VALUE_NONE, 'Process the tag to determine the branch.');
 }
Beispiel #9
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:deploy')->setDescription('Deploy codebase and build artifacts.')->addArgument('alias', InputArgument::REQUIRED, 'Drush alias.')->addArgument('reference', InputArgument::REQUIRED, 'What git reference do you want to deploy? (tag, branch, hash)')->addOption('site-install', 'si', InputOption::VALUE_NONE, 'Install the site?', null);
 }
Beispiel #10
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('vm:bootstrap')->setDescription('Loads the DrupalVM on your system. Assumes you have run add and check-dependency commands.');
 }
Beispiel #11
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('testing:automated-tests')->setDescription('Executes full suite of automated tests')->addOption('travis', 't', InputOption::VALUE_NONE, 'Is this a travis build?');
 }
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:configure-testing')->setDescription('Configure automated tests');
 }
Beispiel #13
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:run-phpcbf')->setDescription('Run PHP Code Beautifier on codebase')->addArgument('file-path', InputArgument::OPTIONAL, 'Which file path(s) do you wish to check? ' . 'If not specified, this will run default options in your config.yml')->addArgument('git-add', InputArgument::OPTIONAL, 'T/F, do you wish to add these files to Git after running the cleanup?');
 }
Beispiel #14
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('repo:validate-commit')->setDescription('Validate a commit');
 }
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:initialize-documentation')->setDescription('Updates your project directory structure based on project-template provided sample docs');
 }
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:load-composer-dependencies')->setDescription('Installs composer dependencies for the project');
 }
Beispiel #17
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:sync-remote-site')->setDescription('Sync remote database and files between sites')->addArgument('remote-alias', InputArgument::REQUIRED, 'Which drush alias do you wish to pull from?')->addArgument('target-alias', InputArgument::REQUIRED, 'Which drush alias do you wish to deploy to?');
 }
Beispiel #18
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('vm:configure')->setDescription('Configure DrupalVM, assumes you have run vm:add');
 }
Beispiel #19
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('frontend:build')->setDescription('Build the frontend CSS / JS')->addOption('watch', 'w', InputOption::VALUE_NONE, 'Use grunt to watch.', null);
 }
Beispiel #20
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:initialize')->setDescription('A manifest to initially build a configured project');
 }
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('frontend:install')->setDescription('Installs the tools needed for the frontend');
 }
Beispiel #22
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('testing:validate')->setDescription('Executes full validation tests');
 }
Beispiel #23
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:install')->setDescription('Installs site, assumes you have run vm:add')->addOption('site-alias', 'sa', InputOption::VALUE_REQUIRED, 'Which Drush alias to you wish to run the installation?', null)->addOption('site-dir', 'dir', InputOption::VALUE_REQUIRED, 'Which is the site directory?', null)->addOption('db-url', 'db', InputOption::VALUE_REQUIRED, 'Which is the database url?', null);
 }
Beispiel #24
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:build-make-file')->setDescription('Add the files for the DrupalVM')->addArgument('with-core', InputArgument::OPTIONAL, 'Which directory does your project reside?');
 }
Beispiel #25
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:sync')->setDescription('Deploy codebase and build artifacts.')->addArgument('target-repo', InputArgument::REQUIRED, 'Which repo is the sync?')->addArgument('target-branch', InputArgument::REQUIRED, 'Which branch on the target?');
 }
Beispiel #26
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('testing:validate-phpsyntax')->setDescription('Validate PHPCS on codebase')->addArgument('file-path', InputArgument::OPTIONAL, 'Which file path(s) do you wish to check? If not specified, this will run default options in your config.yml');
 }
Beispiel #27
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('testing:behat')->setDescription('Run the projects behat tests')->addArgument('behat-target', InputArgument::OPTIONAL, 'What is your target behat config file?', 'default.yml')->addArgument('behat-profile', InputArgument::OPTIONAL, 'What is your target behat profile?', 'default');
 }
Beispiel #28
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:release-notes')->setDescription('Generate release notes')->addArgument('user', InputArgument::REQUIRED, 'Github username.')->addArgument('pass', InputArgument::REQUIRED, 'Github password.')->addArgument('project', InputArgument::REQUIRED, 'Github project name (e.g., acquia-pso).')->addArgument('repo', InputArgument::REQUIRED, 'Github repository name.')->addArgument('branch', InputArgument::REQUIRED, 'Project branch.')->addArgument('since', InputArgument::REQUIRED, 'Date to collect PRs from. (e.g., 4/10/2015)')->addOption('limit', 'l', InputOption::VALUE_OPTIONAL, 'What is the limit for requesting PRs.', 100);
 }
Beispiel #29
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:rebuild-site')->setDescription('Rebuilds your project site');
 }
Beispiel #30
0
 /**
  * @see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('project:add-drush-alias')->setDescription('Add drush aliases');
 }