Document --yes option to skip manual confirmation when applying a schema snapshot (#11356)

There's an undocumented `--yes` option, which is a rather valuable information and should be documented. For example, when you run the migration step in a CI/CD workflow, you don't want the manual prompt.
This commit is contained in:
Stephan Schmitz
2022-01-31 17:10:04 +01:00
committed by GitHub
parent 9ac1bb146c
commit fab37abb60

View File

@@ -98,6 +98,12 @@ To apply the generated snapshot, run
npx directus schema apply ./path/to/snapshot.yaml
```
To skip manual verification (e.g. when running in a CI workflow), run
```
npx directus schema apply --yes true ./path/to/snapshot.yaml
```
### Creating Users
To create a new user with a specific role, run