st-create

A versatile, template based code generator. Generates SpringType project boilerplates.

Usage no npm install needed!

<script type="module">
  import stCreate from 'https://cdn.skypack.dev/st-create';
</script>

README

st-create

The nano project scaffolder

Generates projects in just 1 line of code

Try it

npx st-create

The following command prints all options:

st-create -h

Custom templates

You can create a new project from a template folder (e.g. created by yourself):

st-create -t ../templates/my-blog-template -n AronsNewBlog

Or even clone an arbitrary Git project:

st-create -t https://github.com/springtype-org/st-template-parcel -n MyNewParcelBasedProject

Template language

The following substritutions will happen for templates:

  • templateName
  • template-name
  • TemplateName

...will be transformed in the projects name (e.g. MyNewParcelBasedProject) keeping the original casing.

This works for both file names and occurances in file contents inside of the template folder/git repository.

Maintainers


Aron Homberg

Michael Mannseicher

Contributing

Please help out to make this project even better and see your name added to the list of our
CONTRIBUTORS.md :tada: