From a26b5606aa61b28f115987436a740eb0f5648f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 7 May 2024 12:42:53 -0300 Subject: [PATCH] Use gh:plone/cookieplone-templates as the default repository for templates (Fixes #13) --- README.md | 7 ++++--- cookieplone/cli.py | 2 +- news/13.internal | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 news/13.internal diff --git a/README.md b/README.md index 34aef4d..c61b98f 100644 --- a/README.md +++ b/README.md @@ -76,9 +76,10 @@ You can also specify other templates. | Template | Description | Command | | --- | --- | --- | -| **project** | Create a Plone project with Backend and frontend. | `pipx run cookieplone project ` | -| **plone_addon** | Create a Plone add-on to be used with the backend. | `pipx run cookieplone plone_addon ` | -| **volto_addon** | Create a Plone add-on to be used with the frontend. | `pipx run cookieplone volto_addon ` | +| **backend_addon** | Create a Plone add-on to be used with the backend. | `pipx run cookieplone backend_addon ` | +| **frontend_addon** | Create a Plone add-on to be used with the frontend. | `pipx run cookieplone frontend_addon ` | + +The updated list of templates can be found at the [cookieplone-templates](https://github.com/plone/cookieplone-templates) repository. ### Configure Cookieplone diff --git a/cookieplone/cli.py b/cookieplone/cli.py index ab83013..a5ba0d6 100644 --- a/cookieplone/cli.py +++ b/cookieplone/cli.py @@ -114,7 +114,7 @@ def cli( raise typer.Exit() repository = os.environ.get(settings.REPO_LOCATION) if not repository: - repository = "gh:plone/cookiecutter-plone" + repository = "gh:plone/cookieplone-templates" repo_path = get_base_repository(repository) if not template: diff --git a/news/13.internal b/news/13.internal new file mode 100644 index 0000000..1cf7c05 --- /dev/null +++ b/news/13.internal @@ -0,0 +1 @@ +Use `gh:plone/cookieplone-templates` as the default repository [@ericof]