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

Added task to copier to warn that template is deprecated and updated … #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lempira
Copy link

@lempira lempira commented Nov 14, 2024

Proposed Changes

  • Updated the README
  • Added a task before the init finalizes to print the deprecation warning and fail the init

@@ -1,6 +1,10 @@
_subdirectory: template_content
_templates_suffix: ".jinja"

_tasks:
- "python -c \"print('WARNING: This template has been deprecated. Beaker for Algorand Smart Contract development is no longer supported.\\nPlease use Algorand Python instead. The Algorand Python template can be found at https://github.com/algorandfoundation/algokit-python-template')\""
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tasks runs before the init finishes but the files are still copied. Is there a way to run the tasks before prompting for the questions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant