A CLI tool for generating Magnolia DXP documentation templates.
npm install -g mgnldoc
mgnldoc template -t instructions -o docs/modules/ROOT/pages/new-task.adoc -r developer -f dx-core,dx-cloud -k task-id -i "Task Title"
- -t, --template : Template name (default: instructions)
- -o, --output : Output file path
- -r, --role : Role (e.g., developer, author)
- -f, --offering : Offering (e.g., dx-core,dx-cloud)
- -k, --task : Task ID
- -i, --title <title>: Task title
- -v, --verbose: Enable verbose logging
For POC, templates and attributes are bundled locally in shared/.