Last active
May 2, 2016 22:47
-
-
Save jmolivas/c7383dfe4155fb3a67dff17e4734456a to your computer and use it in GitHub Desktop.
Writing modern CLI Commands for Drupal 8 blog post
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
drupal generate:command --module="example" --class="HelloCommand" | |
--name="say:hello" --no-interaction | |
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
drupal generate:module --module="Example" --machine-name="example" | |
--module-path="/modules/custom" | |
--description="Module containing custom Drupal Console commands" | |
--core="8.x" --package="Custom" --no-interaction | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment