Expand description
cargo run -- theme …: pack a site into a theme package, install one,
or check one.
theme pack <file.zip> [--site <slug>] [--no-pages]
theme install <file.zip> [--site <slug>]
theme check <file.zip | theme.json>The site is a tenant: --site names it, and it may be left out when the
registry has a single active site. Templates are read from and written
to $RCMS_SITE_DIR/templates (default ./templates). install first
copies the current folder to templates.bak-<timestamp>, then writes
the package’s templates over it: files the package does not have stay,
so pages of a type the package doesn’t know keep their template.
Constants§
Functions§
- run
- Run the
themecommand;argsare the words aftertheme.