Skip to content

Commit eba9c5e

Browse files
committed
document new options on templates check
1 parent d3cabf4 commit eba9c5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/reference/cli/templates.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ INFO mas_core::templates::check: Rendering template name="register.html" context
1717
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"}
1818
...
1919
```
20+
21+
Options:
22+
- `--out-dir <directory>`: Render templates and emit them to the specified directory, which must either not exist or be empty.
23+
- `--stabilise`: Remove sources of nondeterminism from template inputs, so that renders are reproducible. Only useful with `--out-dir`.

0 commit comments

Comments
 (0)