mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user