2.0.2 • Published 8 years ago
cftemplate v2.0.2
Installation
npm install --global cftemplateUse
cftemplate form.cftemplate variables.json > form.cformTemplate Directives
(( publisher/projects@edition ))includes a project from api.commonform.org.(( 543cd5e172cfc6b3c20a0d91855fea44b5bf2fd1da7bf6b7c69f95d6e2705c37 ))includes a form from api.commonform.org.(( require file.cftemplate ))includes another cftemplate.(( require directory/file.cform ))includes a Common Form markup file.(( require other/directories/file.json ))includes a Common Form JSON file(( if x begin ))more markup(( end ))includesmore markuponly if there is anxtemplate variable and its value is truthy.(( unless x begin ))more markup(( end ))includesmore markuponly if there isn't anyxtemplate variable or its value is falsey.