[CLI Generator] Create Sections & Entrytypes via the CLI
Opened this issue · 0 comments
joshuapease commented
Calling a command like this...
craft viget-base/generate section resources --types="caseStudy, webinar, glossary"
Will create a new section in the Craft admin with corresponding entry types.
The appropriate templates will also be created in templates/_elements/
If there are multiple entry types, the pattern will be templates/_elements/sectionName/index.html
with corresponding files for each entry type.