Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* @file
* Contains \Drupal\AppConsole\Command\CacheRebuildCommand.
*/
namespace Drupal\AppConsole\Command;
use Symfony\Component\Console\Input\InputOption;
{
"alias": "console.phar",
"chmod": "0755",
"directories": [
"config",
"src"
],
"files": [
"config.yml",
"bin/console.php",
@jmolivas
jmolivas / ConfigExportCommand.php
Created February 21, 2015 17:02
Drupal Console ConfigExportCommand class
<?php
/**
* @file
* Contains \Drupal\AppConsole\Command\ConfigExportCommand.
*/
namespace Drupal\AppConsole\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
@jmolivas
jmolivas / chain-commands.yml
Created March 31, 2015 02:02
Sample file containing commands to get executed.
# /Users/jmolivas/develop/chain-commands.yml
commands:
chain:
- generate:module
- generate:controller
- generate:form:config
- generate:entity:content
- generate:entity:config
- generate:command
- generate:authentication:provider
@jmolivas
jmolivas / .travis.yml
Created April 5, 2015 07:36
Drupal Console .travis.yml file
language: php
php:
- 5.4
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
# Download using drush
$ drush dl composer_manager
# Enable composer_manager
$ drush en -y composer_manager
# Register composer command for Drupal core
$ drush composer-manager-init