bird email templates check
Usage
Exemple de code
bird email templates check [template-ref...] [flags]Description
Renders each template's draft, in every language it has, and checks what a CI job needs: the compatibility findings preview reports, the HTML size against Gmail's clipping point (about 102 KB), and every link and image, fetched from where the command runs. It exits 7 (check_failed) when any finding is a problem; warnings are reported and never fail.
--html checks a file your build renders instead of a stored template. It is previewed as unsaved content against the template named by --template, so no draft is changed; any template works.
--annotations github prints GitHub Actions workflow commands on stdout instead of the report, so findings in an --html file appear on its lines in the pull request.
Examples
Exemple de code
bird email templates check welcome-email order-shipped
bird email templates check --html dist/welcome.html --template welcome-email --annotations githubOptions
| Name | Description |
|---|---|
| --annotations | Print findings as CI annotations instead of the report: github |
| --html | Path to a rendered HTML file to check instead of a stored template's draft; needs --template |
| --skip-links | Skip fetching links, for runners without outbound network access |
| --template | Template to preview --html against (id or slug); its stored content is not used |
Related
| Name | Description |
|---|---|
| bird email templates create | Create an email template and its first editable draft |
| bird email templates delete | Delete an email template |
| bird email templates duplicate | Duplicate an email template |
| bird email templates get | Get an email template |
| bird email templates list | List email templates |
| bird email templates preview | Preview a template with sample values |
| bird email templates update | Update an email template |
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet. Les ressources sont en anglais.
Comprendre le conceptShould I use a Bird SDK or call the API directly?Suivre le parcours d'apprentissageBuild your first integrationGuide d'implémentationSend your first email
Obtenir un guide d'implémentation