fugo templates check
Checks the layouts: Tera parse and name errors, context names, lookup coverage and the conversion lints (REWRITE_PLAN.md §4.8)
Usage#
fugo templates check [OPTIONS]Options#
-b,--base-url <URL>- The site’s base URL
-t,--theme <THEMES>- Themes to use (comma-separated)
--cache-dir <DIR>- The cache directory
--ignore-cache[=BOOL]- Ignores the cache directory
-D,--build-drafts[=BOOL]- Includes content marked as draft
-E,--build-expired[=BOOL]- Includes expired content
-F,--build-future[=BOOL]- Includes content with a publish date in the future
--coverage <COVERAGE>- How much of the lookup coverage to print Default:
summary. One ofsummary,full,none. --deny-warnings- Exits with 1 when there are warnings, too
Global options#
Every command takes these.
-s,--source <DIR>- The project directory (default: the working directory)
--config <FILE>- The configuration file, relative to the source. Default: the project’s
config.toml,config.yaml,config.ymlorconfig.json -e,--environment <ENV>- The build environment (default
production,developmentforserver): picks the configuration’s[environments.<environment>]table and the.env.<environment>file --themes-dir <DIR>- The themes directory
--clock <TIME>- The build’s “now” (RFC 3339, e.g.
2026-09-27T12:00:00Z), for dates andnow() -d,--destination <DIR>- The publish directory, relative to the source
-M,--render-to-memory- Renders into memory only (a dry run: nothing is written; what
serverdoes by default) -q,--quiet- Prints only warnings and errors