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

Improvements to environment template #1701

Merged
merged 3 commits into from
Mar 1, 2024

Conversation

glopesdev
Copy link
Member

This PR introduces two quality of life improvements to the environment template experience:

  • The bootstrapper will now always run at the .ps1 script location so it can be called safely with relative paths
  • A default name of .bonsai is assigned to the template

This means it is now possible to simply call dotnet new bonsaienv to initialize a new default environment. The changes also allow independently controlling created folder name and environment folder name.

For example the following command will create a new folder project1 containing a bonsai environment folder named env.

dotnet new bonsaienv -o project1 -n .env

@glopesdev glopesdev added the feature New planned feature label Mar 1, 2024
@glopesdev glopesdev merged commit 9ef6d10 into bonsai-rx:main Mar 1, 2024
3 checks passed
@glopesdev glopesdev deleted the env-template branch March 1, 2024 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant