From b437c907fa763f191bfd7b5eee7b4799d58ce8fb Mon Sep 17 00:00:00 2001 From: Joe Polny Date: Tue, 28 Mar 2023 10:05:08 +0200 Subject: [PATCH 1/7] add beaker starter --- src/algokit/cli/init.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/algokit/cli/init.py b/src/algokit/cli/init.py index a2821598..1cb8fe80 100644 --- a/src/algokit/cli/init.py +++ b/src/algokit/cli/init.py @@ -49,9 +49,13 @@ class BlessedTemplateSource(TemplateSource): # this is a function so we can modify the values in unit tests def _get_blessed_templates() -> dict[str, BlessedTemplateSource]: return { - "beaker": BlessedTemplateSource( + "beaker starter": BlessedTemplateSource( + url="gh:starter-algokit-beaker-template", + description="Official starter template for Beaker applications." + ), + "beaker production": BlessedTemplateSource( url="gh:algorandfoundation/algokit-beaker-default-template", - description="Official starter template for production Beaker applications.", + description="Official template for production Beaker applications.", ), "playground": BlessedTemplateSource( url="gh:algorandfoundation/algokit-beaker-playground-template", From b97c3648c49ef4114753686ab516965c06b61239 Mon Sep 17 00:00:00 2001 From: Joe Polny Date: Tue, 28 Mar 2023 10:09:32 +0200 Subject: [PATCH 2/7] fix gh link for starter --- src/algokit/cli/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algokit/cli/init.py b/src/algokit/cli/init.py index 1cb8fe80..60b93bbf 100644 --- a/src/algokit/cli/init.py +++ b/src/algokit/cli/init.py @@ -50,7 +50,7 @@ class BlessedTemplateSource(TemplateSource): def _get_blessed_templates() -> dict[str, BlessedTemplateSource]: return { "beaker starter": BlessedTemplateSource( - url="gh:starter-algokit-beaker-template", + url="gh:algorand-devrel/starter-algokit-beaker-template", description="Official starter template for Beaker applications." ), "beaker production": BlessedTemplateSource( From c2ceda5e6e3fe9688c183d04e3ad5766bdbd1958 Mon Sep 17 00:00:00 2001 From: Joe Polny Date: Tue, 28 Mar 2023 11:18:22 +0200 Subject: [PATCH 3/7] formatting with black --- src/algokit/cli/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algokit/cli/init.py b/src/algokit/cli/init.py index 60b93bbf..65d4c01d 100644 --- a/src/algokit/cli/init.py +++ b/src/algokit/cli/init.py @@ -51,7 +51,7 @@ def _get_blessed_templates() -> dict[str, BlessedTemplateSource]: return { "beaker starter": BlessedTemplateSource( url="gh:algorand-devrel/starter-algokit-beaker-template", - description="Official starter template for Beaker applications." + description="Official starter template for Beaker applications.", ), "beaker production": BlessedTemplateSource( url="gh:algorandfoundation/algokit-beaker-default-template", From 73f5a46fa9e51726d9532acbde53ae72a8985f6e Mon Sep 17 00:00:00 2001 From: Joe Polny Date: Tue, 28 Mar 2023 11:21:24 +0200 Subject: [PATCH 4/7] generate docs --- docs/cli/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli/index.md b/docs/cli/index.md index 1c85ce37..26c56ad6 100644 --- a/docs/cli/index.md +++ b/docs/cli/index.md @@ -269,7 +269,7 @@ Name of an official template to use. To see a list of descriptions, run this com * **Options** - beaker | playground + beaker starter | beaker production | playground From 2da58270795c2dceb5030705cd578d328d0dd9e8 Mon Sep 17 00:00:00 2001 From: Joe Polny <50534337+joe-p@users.noreply.github.com> Date: Tue, 28 Mar 2023 07:40:47 -0400 Subject: [PATCH 5/7] underscore template names in docs Co-authored-by: Rob Moore (MakerX) --- docs/cli/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli/index.md b/docs/cli/index.md index 26c56ad6..c8946f09 100644 --- a/docs/cli/index.md +++ b/docs/cli/index.md @@ -269,7 +269,7 @@ Name of an official template to use. To see a list of descriptions, run this com * **Options** - beaker starter | beaker production | playground + beaker_starter | beaker_production | playground From c4f953f2cbdd858243f50c29b1c4d510c06ead34 Mon Sep 17 00:00:00 2001 From: Joe Polny <50534337+joe-p@users.noreply.github.com> Date: Tue, 28 Mar 2023 07:41:16 -0400 Subject: [PATCH 6/7] beaker_starter Co-authored-by: Rob Moore (MakerX) --- src/algokit/cli/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algokit/cli/init.py b/src/algokit/cli/init.py index 65d4c01d..4fae0094 100644 --- a/src/algokit/cli/init.py +++ b/src/algokit/cli/init.py @@ -49,7 +49,7 @@ class BlessedTemplateSource(TemplateSource): # this is a function so we can modify the values in unit tests def _get_blessed_templates() -> dict[str, BlessedTemplateSource]: return { - "beaker starter": BlessedTemplateSource( + "beaker_starter": BlessedTemplateSource( url="gh:algorand-devrel/starter-algokit-beaker-template", description="Official starter template for Beaker applications.", ), From 13bd9b97d4b69a87de3cbf74585ffb70822f85e5 Mon Sep 17 00:00:00 2001 From: Joe Polny <50534337+joe-p@users.noreply.github.com> Date: Tue, 28 Mar 2023 07:41:37 -0400 Subject: [PATCH 7/7] beaker_production Co-authored-by: Rob Moore (MakerX) --- src/algokit/cli/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algokit/cli/init.py b/src/algokit/cli/init.py index 4fae0094..7b502903 100644 --- a/src/algokit/cli/init.py +++ b/src/algokit/cli/init.py @@ -53,7 +53,7 @@ def _get_blessed_templates() -> dict[str, BlessedTemplateSource]: url="gh:algorand-devrel/starter-algokit-beaker-template", description="Official starter template for Beaker applications.", ), - "beaker production": BlessedTemplateSource( + "beaker_production": BlessedTemplateSource( url="gh:algorandfoundation/algokit-beaker-default-template", description="Official template for production Beaker applications.", ),