Environment variables reference
Cookieplone reads these environment variables at startup.
CLI flags take precedence over environment variables where both exist.
COOKIEPLONE_REPOSITORY
Type: string (URL, local path, or abbreviation)
Default: gh:plone/cookieplone-templates
Overrides the default template repository.
Accepts any source that Cookieplone supports: a git URL, a local directory path, a zip archive URL, or an abbreviated form (gh:, gl:, bb:).
export COOKIEPLONE_REPOSITORY="gh:myorg/my-templates"
cookieplone
COOKIEPLONE_REPOSITORY_TAG
Specifies the git tag or branch to check out when cloning the template repository.
Overrides the --tag/--branch CLI flag.
export COOKIEPLONE_REPOSITORY_TAG="2024.10.1"
cookieplone
COOKIEPLONE_REPO_PASSWORD
Type: string
Default: (none)
Password or token used to authenticate when cloning a private template repository.
Also checked under the name COOKIECUTTER_REPO_PASSWORD for compatibility.
Set this variable rather than embedding credentials in the repository URL.
COOKIEPLONE_QUIET_MODE_SWITCH
Type: string
Default: (not set)
When set to any non-empty value, suppresses the interactive (Textual User Interface) wizard
and falls back to a plain text prompt.
Use this in headless environments where a terminal User Interface (TUI) cannot render correctly.
export COOKIEPLONE_QUIET_MODE_SWITCH=1
cookieplone
COOKIEPLONE_CONFIG
Type: path string
Default: (none)
Path to a Cookieplone configuration file.
Takes precedence over COOKIECUTTER_CONFIG and the default file search (~/.cookieplonerc, ~/.cookiecutterrc).
Overridden by the --config-file CLI flag.
export COOKIEPLONE_CONFIG="/etc/cookieplone/config.yaml"
cookieplone
COOKIECUTTER_CONFIG
Type: path string
Default: (none)
Path to a Cookiecutter-compatible configuration file.
Used when COOKIEPLONE_CONFIG is not set.
Overridden by both COOKIEPLONE_CONFIG and --config-file.
USE_PRERELEASE
Type: flag (presence)
Default: (not set)
When set to any non-empty value, the use_prerelease_versions, latest_plone, and latest_volto filters include pre-release versions in their results.
export USE_PRERELEASE=1
cookieplone