Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beaker Full Deprecation #607

Merged
merged 3 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ Name of an official template to use. To choose interactively, run this command w

* **Options**

tealscript | python | react | fullstack | base | playground
tealscript | python | react | fullstack | base



Expand Down
8 changes: 1 addition & 7 deletions src/algokit/cli/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ class TemplateKey(str, Enum):
TEALSCRIPT = "tealscript"
FULLSTACK = "fullstack"
REACT = "react"
BEAKER = "beaker"
PLAYGROUND = "playground"


@dataclass(kw_only=True)
Expand Down Expand Up @@ -142,10 +140,6 @@ def _get_blessed_templates() -> dict[TemplateKey, BlessedTemplateSource]:
url="gh:algorandfoundation/algokit-base-template",
description="Official base template for enforcing workspace structure for standalone AlgoKit projects.",
),
TemplateKey.PLAYGROUND: BlessedTemplateSource(
url="gh:algorandfoundation/algokit-beaker-playground-template",
description="Official template showcasing a number of small example applications and demos.",
),
}


Expand Down Expand Up @@ -655,7 +649,7 @@ def _get_template_interactive() -> TemplateSource:
raise click.ClickException("No template selected. Please try again.")

# Map the template string directly to the TemplateSource
# This is needed to be able to reuse fullstack to work with beaker, python, and tealscript templates
# This is needed to be able to reuse fullstack to work with python and tealscript templates
blessed_templates = _get_blessed_templates()
if template in blessed_templates:
selected_template_source = blessed_templates[template]
Expand Down
1 change: 0 additions & 1 deletion tests/init/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ class ExtendedTemplateKey(str, Enum):
TEALSCRIPT = "tealscript"
FULLSTACK = "fullstack"
REACT = "react"
PLAYGROUND = "playground"
PYTHON_WITH_VERSION = "python_with_version"
SIMPLE = "simple"

Expand Down