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

Require a name when newing a tamplate, and use it as default output dir #510

Merged
merged 1 commit into from
May 18, 2022

Conversation

itowlson
Copy link
Contributor

New syntax is:

spin new http-rust wondersite  # creates it in ./wondersite
spin new http-rust wondersite ~/projects/wondersite  # creates it in ~/projects/wondersite

The well-known parameter project-name is set to the name given on the CLI. Templates no longer define this parameter.

Fixes #491, #479, #490.

Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@Mossaka
Copy link
Contributor

Mossaka commented May 18, 2022

This is awesome, thanks!

Copy link
Contributor

@fibonacci1729 fibonacci1729 left a comment

Choose a reason for hiding this comment

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

Thanks Ivan!

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.

Spin new ignores project-name flag
4 participants