What's on this page
Commands
List of available commands.
Available commands:
about Shows a short description about Cecil
build Builds the website
clear Removes all generated files
doctor Diagnoses the site configuration
edit [open] Open pages directory with the editor
help Display help for a command
self-update [selfupdate] Updates Cecil to the latest version
serve Starts the built-in server
cache
cache:clear Removes all cache files
cache:clear:assets Removes assets cache
cache:clear:templates Removes templates cache
cache:clear:translations Removes translations cache
clear
clear:output Removes output directory
clear:temporary [clear:tmp] Removes temporary directory
doctor
doctor:cache Shows cache status
doctor:frontmatter [doctor:fm] Validates pages front matter syntax
doctor:links Checks internal and external links of the rendered pages
doctor:seo Audits rendered HTML pages for common SEO issues
new
new:page Creates a new page
new:site Creates a new website
serve
serve:background Starts the built-in server in the background (alias of `serve --background`)
serve:log Shows combined server and error logs
serve:stop [stop] Stops the background server
show
show:config Shows the configuration
show:content Shows content as tree
util
util:templates:extract Extracts built-in templates
util:translations:extract Extracts translations from templates
Other commands
Commands without a dedicated page, and their specific options:
about: shows a short description about Cecil.edit(aliasopen): opens the pages directory with the editor defined by theeditorconfiguration key, or with--editor=EDITOR.self-update(aliasselfupdate): updates Cecil to the latest version, see Installation.serve:stop(aliasstop): stops a background server previously started withserve --background.clear: removes all generated files;clear:outputremoves the output directory andclear:temporary(aliasclear:tmp) removes the temporary directory.cache:clear: removes all cache files;cache:clear:assets,cache:clear:templatesandcache:clear:translationsremove a single cache.cache:clear:templates --fragmentsremoves the templates fragments cache only.show:config: shows the configuration in YAML format (-k, --key=KEYshows only the given key, in dot notation, e.g.--key=pages.dir);show:contentshows the content as a tree. Both accept-c, --config=CONFIGto add an extra configuration file.util:templates:extract: extracts built-in templates into thelayoutsdirectory (-f, --forceoverrides existing files).util:translations:extract: extracts translations from templates, with the following options:--locale=LOCALE: sets the locale--show: displays translation messages in the console, as a list--save: saves translation messages into the translation file--format=FORMAT: sets the output format (yamlby default, orpo)--theme=THEME: merges translation messages from a given theme