1234567891011121314151617181920212223242526272829 |
- <?php
- namespace Fgm\Drupal\Composer;
- use Composer\Command\BaseCommand;
- use Symfony\Component\Console\Input\InputInterface;
- use Symfony\Component\Console\Output\OutputInterface;
- class BuildSettingsCommand extends BaseCommand {
- public function configure() {
- parent::configure();
- $this
- ->setName('build-settings')
- ->setDescription('Builds the *.settings.local.php files.')
- ->setDefinition([])
- ->setHelp(<<<EOT
- The build-settings command combines shared and per-environment parameters and passes them to the settings.local.php.twig template to build the settings/(build|run).settings.local.php files.
- EOT
- )
- ;
- }
- public function execute(InputInterface $input, OutputInterface $output) {
- $output->write("BuildSettingsCommand Executed", true);
- }
- }
|