-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chain] Improve placeholder default values management. (#101)
- Loading branch information
Showing
2 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# How to use | ||
# site:new --placeholder="directory:/path/to/drupal-project/" --placeholder="profile:minimal" | ||
command: | ||
name: site:new | ||
description: 'Create, install and launch a new Drupal project' | ||
commands: | ||
# Create Drupal project using DrupalComposer | ||
- command: exec | ||
arguments: | ||
bin: composer create-project %{{repository|drupal-composer/drupal-project:8.x-dev}} %{{directory}} --prefer-dist --no-progress --no-interaction | ||
# Install Drupal | ||
- command: exec | ||
arguments: | ||
bin: drupal site:install %{{profile|standard}} --root=%{{directory}} --no-interaction | ||
# Start PHP bult-in server | ||
- command: exec | ||
arguments: | ||
bin: drupal server --root=%{{directory}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters