Files
tldr/pages.zh/common/dcg.md

16 lines
372 B
Markdown

# dcg
> Drupal 代码生成器。
> 更多信息:<https://github.com/Chi-teck/drupal-code-generator>。
- 启动向导以选择要生成的代码类型(例如,模块、服务、表单等):
`dcg`
- 直接指定要生成的代码类型:
`dcg {{service|plugin|theme|module|form}}`
- 在特定目录中生成代码:
`dcg --directory {{path/to/directory}}`