-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add first draft of "Available commands" page
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 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,47 @@ | ||
# Available commands | ||
|
||
The fixture plugin provides a few [symfony commands](#todo) you can execute. | ||
|
||
## Running fixtures | ||
### Run all fixtures | ||
```shell:no-line-numbers | ||
bin/console fixture:load | ||
``` | ||
|
||
Possible arguments: | ||
| Argument | Description | Default Value | | ||
| -------- | ---------------------------------------------------------- | ------------- | | ||
| --dry | Display all fixtures that would run without executing them | false | | ||
| --vendor | Execute also all fixtures found in the vendor directory | false | | ||
|
||
### Run a specific fixture | ||
```shell:no-line-numbers | ||
bin/console fixture:load:single {FixtureName} | ||
``` | ||
|
||
Possible arguments: | ||
| Argument | Description | Default Value | | ||
| ------------------- | ---------------------------------------------------------- | ------------- | | ||
| --dry | Display all fixtures that would run without executing them | false | | ||
| --vendor | Execute also all fixtures found in the vendor directory | false | | ||
| --with-dependencies | Also execute all dependencies recursively | false | | ||
| -w | Alias for `--with-dependencies` | false | | ||
|
||
### Run a fixture group | ||
```shell:no-line-numbers | ||
bin/console fixture:load:group {GroupName} | ||
``` | ||
|
||
Possible arguments: | ||
| Argument | Description | Default Value | | ||
| -------- | ---------------------------------------------------------- | ------------- | | ||
| --dry | Display all fixtures that would run without executing them | false | | ||
| --vendor | Execute also all fixtures found in the vendor directory | false | | ||
|
||
## Helper commands | ||
### Get random UUID | ||
```shell:no-line-numbers | ||
bin/console fixture:uuid | ||
``` | ||
|
||
This command just returns a valid, random UUID. |