Template Tutorials
Step-by-step tutorials for developing CyanPrint templates
Template Tutorials
Learn template development step by step with these progressive tutorials.
Learning Path
Follow the tutorials in order to build your understanding:
1. Blank Template
Create your first template using the meta template. Learn the basic structure and how templates work.
2. Adding Variables
Add variable substitution to your templates using the default processor.
3. Changing Glob Patterns
Control which files are processed versus copied as-is.
4. Asking Questions
Collect user input to customize generated projects.
5. Full Example
A complete template demonstrating all features together.
Prerequisites
Before starting the tutorials, ensure you have:
- Docker installed and running
- CyanPrint CLI installed
- Node.js 18+ for local development
- Basic TypeScript knowledge
Next Steps
Start with Tutorial 1: Blank Template or explore How-To Guides for specific tasks.