[WIP] Split console component documentation #5156
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The usage of the Console component is now duplicated in cookbook and components. But the cookbook links to the components docs for some things. This lead to much confusion (I've seen quite a few people that created an
application.php
file just to add a command to a bundle).The new article purely focusses on the usage part, meaning that it can be used for both framework and standalone usage. The cookbook will then focus on some framework special cases (e.g. ContainerAwareCommand) and the components on standalone things (e.g. installation, setting up console applications (#4997), etc.).
Todo