CyanPrint default processor
To use this processor, add it to cyan.yaml
:
processors:
- cyan/default
Please convert this to any language you need.
The schema for this processor for Cyan is:
function template() {
return {
processors: [
{
name: "cyan/default",
// Add your glob here
files: [],
// Configuration
config: {
vars: {
// Key-value pairs that use in the template. Nesting allowed
name: "CyanPrint"
},
// this is optional
parser: {
// this optional. the following example is the default
varSyntax: [
["var__", "__"],
]
}
}
}
],
plugins: [],
}
}