Skip to content

Commit 4019a1b

Browse files
authored
Merge pull request #1 from nymedia/eiriksm-patch-1
Update README.md
2 parents 4addb2c + 5883158 commit 4019a1b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
# drush-drupal-settings
22
Allows you to get values for read only settings that are stored in settings.php (drush 9.3 and newer)
3+
4+
## Installation
5+
6+
```
7+
composer require nymedia/drupal_settings
8+
```
9+
10+
## Usage
11+
12+
Imagine we have a settings.local.php that includes this:
13+
14+
```php
15+
$settings['environment'] = 'development';
16+
```
17+
18+
Now maybe we want to get ahold of this value in a bash script, or a composer script. We could just go ahead and use this package:
19+
20+
```
21+
drush setting:get environment
22+
```

0 commit comments

Comments
 (0)