LinuxCommandLibrary

dcg

Drupal code generator.

TLDR

Start a wizard to choose what kind of code (e.g. module, service, form, etc.) to generate

$ dcg
copy


Directly specify the kind of code to generate
$ dcg [service|plugin|theme|module|form]
copy


Generate the code in a specific directory
$ dcg --directory [path/to/directory]
copy

Copied to clipboard