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

Add --template option to pyscript create #150

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jdw170000
Copy link

Pursuant to issue #7, this PR adds a --template command line argument which can be passed to the pyscript project creation script.

The --template option allows users to name a custom template that they have created in the templates folder to use instead of the default basic.html template.

The PR also includes a new unit test to validate the --template option, as well as a description of the option in the documentation.

Written at PyCon US 2024 sprints.

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