Templates
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
On this page
This file covers the templates command family.
Commands
nomatron templates rendernomatron templates render-git
When To Use Them
- Use
renderwhen you want to preview a raw template string or local template file. - Use
render-gitwhen you want Nomatron to fetch the configured template source from Git and render it with current config.
How To Use Them
Render inline template input:
nomatron templates render \
--organization acme \
--app api \
--job template \
--template 'job "demo" {}'Render from a file:
nomatron templates render \
--organization acme \
--app api \
--job template \
--file ./nomatron.tplExamples
Render using the configured Git source:
nomatron templates render-git \
--organization acme \
--app api \
--job templateRender for a specific environment in dry-run mode:
nomatron templates render-git \
--organization acme \
--app api \
--job template \
--environment prod \
--dry-run