Skip to content

Instantly share code, notes, and snippets.

@jmolivas
Last active May 2, 2016 22:47
Show Gist options
  • Save jmolivas/c7383dfe4155fb3a67dff17e4734456a to your computer and use it in GitHub Desktop.
Save jmolivas/c7383dfe4155fb3a67dff17e4734456a to your computer and use it in GitHub Desktop.
Writing modern CLI Commands for Drupal 8 blog post
drupal generate:command --module="example" --class="HelloCommand"
--name="say:hello" --no-interaction
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