Postponed on 8.1.x being open for development.
Drupal 8's new OOP niftiness just sits there waiting to be driven around from the console.
A simple composer requirement plus a few classes later, and it can be.
Here's an easy introduction to Symfony's Console component: http://symfony.com/doc/current/components/console/introduction.html
Drush is very useful for complex tasks such as
drush make, and remote usage with site aliases, as well as working with Drupal versions other than 8. These type of tasks would be outside the scope of the console.
However, the addition of console commands to core, with stringent code review and testing requirements, would be a framework useable by Drush, allowing Drush to slim down in the Drupal 8 use case.
Beta phase evaluation
evaluating for https://www.drupal.org/contribute/core/beta-changes
the first thing that needs to be decided is, is this a feature request.
which leads me to https://www.drupal.org/core/issue-category
Reading that it does seem this is a feature, so moving this to 8.1.x and postponing it. (also see @webchick comment in #44)
Add the dependencies, create a
core/console script, and off we go.
- Proof of concept... See below.
- Determine scope for console-oriented tasks.
- Determine testing regimen. Symfony gives us
- Contemplate contrib extensions.
- Add your consideration here...
User interface changes
Users will be able to type things like
core/console module:install my_module. That seems desirable, doesn't it?