Description
I'm wondering what you think of extending the cargo new
command to allow users to specify a template which will be used to scaffold the project.
For example:
cargo new --template=http://github.com/gchp/nickel-rs-template
Where nickel-rs-template
is a repository containing a sample nickel.rs app with some placeholder values which would get replaced when being generated.
An advantage of this is that 3rd party developers could create and maintain templates for working for their project. For instance the example I've listed above could allow developers to quickly generate a "hello world" nickel.rs web application.
The idea behind this is similar to that seen in Django: django-admin.py startproject --template=xxx
.
I'd be happy to work on this, but wanted to see if it's something that may be useful and get any feedback / thoughts on it before beginning.