Command

nylas template render

Render with variables

Written by Qasim Muhammad Staff SRE

What does nylas template render do?

The nylas template render command provides render with variables. It is part of the Hosted Templates commands, which application or grant-scoped templates managed via the Nylas API.

Usage

nylas template render

Flags

FlagDescription
--data stringInline JSON object with template variables
--data-file stringPath to a JSON file with template variables
--grant-id stringGrant ID or email for grant-scoped templates
--scope stringTemplate scope: app or grant
--strictFail when the template references missing variables
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas template render command provides render with variables.

JSON output for scripting

nylas template render --json

Filter by data

nylas template render --data <value> --json

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

Run nylas template render --help for full help output.