This repository has been archived by the owner on May 17, 2019. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an initial implementation of a scaffolding tool that can be used to scaffold Fusion projects, plugins and potentially other items in the future. The expectation is that this will stay fairly generic, but consuming libraries (e.g.
create-fusion-app
orcreate-fusion-plugin
) would include more specific CLIs.For now, this library has a basic implementation: It takes a path to a template and a project name and copies the files in the template into a new directory, and allows for interpolation of values into files in the template via nunjucks when using a
.njk
extension.Not yet implemented is a way to gather options/values to be passed to the nunjucks compiler through an
index.js
file at the root of the template. In addition, we may want to do dependency installation as part of the scaffolder and possibly more...Fixes #1