fugo cms fields
Prints the editor’s fields as [cms.fields] settings: every front matter key of the content with the label and widget the build gives it (from the key and its values), the settings of the configuration over them, to copy and change
Usage#
fugo cms fields [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
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