CLI Command Reference: theme

Generated by php build/docs/rvn-docs.php. Do not edit this file by hand.

Command

php private/bin/rvn-theme --no-banner --help

Usage Notes

Public-theme management:

  • list
  • enable --slug <slug>
  • create --slug <slug> --name <name> [--clone <source_slug>] [--parent <slug>] [--set-default <1|0>]
  • uninstall --slug <slug>

Uninstall rules:

  • Active themes cannot be uninstalled; enable a different theme first.
  • Stock themes, including raven, cannot be uninstalled.
  • --force is not supported for rvn-theme uninstall.

Legacy delete --slug <slug> is accepted as an alias for uninstall.

create writes a theme scaffold under public/theme/{slug}/. With --clone, source theme files are copied and theme.json is rewritten with the new metadata.

Exit Code

0

Help Output

Usage: private/bin/rvn-theme <action> [options]
Actions: list, enable, create, uninstall
Options: --slug, --name, --parent, --clone, --set-default