CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

Project Template Support for initialisation

Open GeekStewie opened this issue 3 years ago • 0 comments

Feature Type

I'm interested in extensions to existing CumulusCI functionality (e.g., broader applicability of an existing Task or Flow).

Does your feature request solve a current problem?

Currently if I want to create a net new project then I can using the cci project init command and it works great. However it would be great if you could define an existing github template as the template to use for a new project.

Describe the solution you'd like

Be able to define a github repo as an override so that project init uses the defined template instead of the built in option.

Being able to use it like this:

cci project init --template https://www.github.com/demoorg/demorepotemplate

In addition if we can also save these globally and provide an alias, so that I can specify that the template above is DefaultTemplate1 and have another which is DefaultTemplate2, then simply specify that like so:

cci project init --template DefaultTemplate1

This way an alias or a url would be accepted but could speed up creation of new projects. Especially for dev teams who use multiple templates for different use cases.

Describe alternatives you've considered

At the moment we can start from Github and create a new repo from the existing template, then open it in VSCode and start working.

Additional context

For me this isn't a high priority but more of a nice to have.

GeekStewie avatar Jul 25 '22 14:07 GeekStewie