This idea comes from Django, where the startproject command would would rename all directories named project_name and any text within sources that matches {{ project_name }} to the project name specified in the command line.
I suggest adding a separate command line option to specify the name, and do something similar to the above when that option is used. E.g.,
volo create dir path/to/template --name MyProject
Use case: I want to create a CoffeeScript template for Sencha Touch but Sencha Touch relies heavily on naming convention to locate files so there would be a lot of renaming to do each time a new project is created, or introduce some non-standard workaround for the naming problem which confuses developers. Having the ability to use placeholder text/name and do this automatically would be very helpful.
This idea comes from Django, where the
startproject
command would would rename all directories namedproject_name
and any text within sources that matches{{ project_name }}
to the project name specified in the command line.I suggest adding a separate command line option to specify the name, and do something similar to the above when that option is used. E.g.,
Use case: I want to create a CoffeeScript template for Sencha Touch but Sencha Touch relies heavily on naming convention to locate files so there would be a lot of renaming to do each time a new project is created, or introduce some non-standard workaround for the naming problem which confuses developers. Having the ability to use placeholder text/name and do this automatically would be very helpful.