LogoCyanPrint

Template Reference

Technical reference documentation for CyanPrint templates

Template Reference

Technical documentation for template structure, configuration, and SDK.

Project Structure

SDK Reference

Complete API documentation for the CyanPrint SDK:

Quick Reference

Entry Point

import { StartTemplateWithLambda, GlobType } from '@atomicloud/cyan-sdk';
StartTemplateWithLambda(async (i, d) => {
return {
processors: [{
name: 'cyan/default',
files: [{ root: 'templates', glob: '**/*', exclude: [], type: GlobType.Template }],
config: { vars: {} }
}]
};
});

Question Types

MethodReturnsPurpose
text()stringText input
select()stringSingle selection
confirm()booleanYes/no
checkbox()string[]Multi-select
password()stringHidden input
dateSelect()stringDate selection

File Processing

TypeBehavior
GlobType.TemplateProcess with variable substitution
GlobType.CopyCopy without processing

Next Steps