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

Support variable arguments in vapor new #330

Merged
merged 8 commits into from
Jul 13, 2020
Merged

Conversation

tanner0101
Copy link
Member

@tanner0101 tanner0101 commented Jul 13, 2020

Adds support for setting variables during vapor new using arguments (#330).

$ vapor new hello --fluent.db postgres
Cloning template...
name: hello
fluent: Yes
db: Postgres
Generating project files
...

Adds support for specifying template branch with --branch option during vapor new.

$ vapor new hello --template git@github.com:user/repo.git --branch foo

Adds vapor/template integration workflow to ensure all permutations of vapor new produce valid projects.

@tanner0101 tanner0101 added the enhancement New feature or request label Jul 13, 2020
@tanner0101 tanner0101 added this to Awaiting Review in Vapor 4 via automation Jul 13, 2020
@tanner0101
Copy link
Member Author

Relies on vapor/console-kit#148

@tanner0101 tanner0101 marked this pull request as ready for review July 13, 2020 19:25
@tanner0101 tanner0101 added the semver-minor Contains new APIs label Jul 13, 2020
@tanner0101 tanner0101 merged commit dec76c5 into master Jul 13, 2020
Vapor 4 automation moved this from Awaiting Review to Done Jul 13, 2020
@tanner0101 tanner0101 deleted the tn-newproj-flags branch July 13, 2020 20:39
@tanner0101
Copy link
Member Author

These changes are now available in 18.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semver-minor Contains new APIs
Projects
Vapor 4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant