mirror of
https://github.com/macintoshplus/yaml-migrations.git
synced 2026-03-24 00:42:18 +01:00
Update README.md
This commit is contained in:
17
README.md
17
README.md
@@ -4,12 +4,27 @@ A library to facilitate migrations for YAML configuration files
|
||||
|
||||
## Run migrations
|
||||
|
||||
Standalone:
|
||||
|
||||
```bash
|
||||
bin/yaml-migrate process -c config.yaml -v
|
||||
```
|
||||
|
||||
Run a single file forcibly, convenient for testing:
|
||||
|
||||
```
|
||||
bin/yaml-migrate process -c config.yaml -v -f m_replace.yaml
|
||||
```
|
||||
|
||||
Run it in the context of a Bolt installation:
|
||||
|
||||
```
|
||||
vendor/bobdenotter/yaml-migrations/bin/yaml-migrate process -c vendor/bolt/core/yaml-migrations/config.yaml -v
|
||||
````
|
||||
|
||||
|
||||
Tip: Reset the checkpoint:
|
||||
|
||||
```bash
|
||||
echo '1.0.0' > sample/migrations/checkpoint.txt
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user