Skip to content

Commit

Permalink
Review in README
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-eugone committed Jan 5, 2024
1 parent 09864cd commit 0dd6942
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,23 @@ return [
### Configuration

The bundle comes with few some commands disabled by default (from Symfony's standards), but
The bundle comes with some commands disabled by default (from Symfony's standards).

you can override commands that came from the standard:
That "standard" command list can be overridden:
```
# config/packages/yokai_safe_command.yaml
when@prod:
yokai_safe_command:
standard: []
```

you add your own commands:
> [!NOTE]
> "standard" disabled commands are viewable via the command:
> ```
> bin/console config:dump-reference yokai_safe_command
> ```
And you can also add your own commands to the list:
```
# config/packages/yokai_safe_command.yaml
when@prod:
Expand All @@ -66,10 +72,7 @@ when@prod:
```
> [!NOTE]
> "standard" disabled commands are viewable via the command:
> ```
> bin/console config:dump-reference yokai_safe_command
> ```
> `standard` and `custom` configs are merged together to create the final list of disabled commands.
## License
Expand Down

0 comments on commit 0dd6942

Please sign in to comment.