The DrupalConsole Launcher is a Stand-Alone Full CLI Application
June 27, 2017
In the latest DrupalConsole release, the Launcher (the global executable) is once again a stand-alone full CLI application. This functionality was present before, but it was removed during the RC releases when per-site installation was introduced. Based on community feedback and an analysis of the benefits, the Launcher has been restored as a complete CLI application.
Key Benefits
- Availability of global commands such as init, check, chain, and exec.
- Ability to load and share global configurations from the ~/.console/config.yml file.
- Discovery of chain files in the ~/.console/chain/ directory.
- Support for loading custom chain commands like site:new and quick:start, and the ability to add new custom global chain commands.
- Enables support for command autocompletion.
Impact on Launcher Execution
There are no changes to how the Launcher is run. You can still execute the `drupal` command from any directory within your site project or use the --root option to specify your Drupal project directory.
How to Update
To use this feature, ensure both DrupalConsole and the Launcher are updated to the latest version by executing the following:
[gist-embed data-gist-id="a0970e1ea252ecb852fe8c7182d85d3e" data-gist-file="instructions.md" data-gist-hide-footer="true" data-gist-hide-line-numbers="true" data-gist-show-loading="false"]