From 08acaa447cf06e0b8ef3217cb2ee8eec4ae79548 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Mon, 27 Oct 2025 14:46:04 +0000 Subject: [PATCH] document new options on `templates check` --- docs/reference/cli/templates.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/cli/templates.md b/docs/reference/cli/templates.md index ccced6bed..c6423b32b 100644 --- a/docs/reference/cli/templates.md +++ b/docs/reference/cli/templates.md @@ -17,3 +17,7 @@ INFO mas_core::templates::check: Rendering template name="register.html" context INFO mas_core::templates::check: Rendering template name="index.html" context={"csrf_token":"fake_csrf_token","current_session":{"active":true,"created_at":"2021-09-24T13:26:52.962135085Z","id":1,"last_authd_at":"2021-09-24T13:26:52.962135316Z","user_id":2,"username":"john"},"discovery_url":"https://example.com/.well-known/openid-configuration"} ... ``` + +Options: +- `--out-dir `: Render templates and emit them to the specified directory, which must either not exist or be empty. +- `--stabilise`: Remove sources of nondeterminism from template inputs, so that renders are reproducible. Only useful with `--out-dir`.