Currently, creating a custom component requires manual steps. Namely, the developer must use the template repository and pip install cookiecutter.
Since the template repo is a Git repo, you need to have git installed when you run cookiecutter to use the template. This is an unnecessary added dependency and barrier to entry.
Proposed Actions
Create a Command Line Interface (CLI) for creating custom components.
For example, Django has it's django-admin startproject <project_name> command for users. We could implement something similar. For example, idom new_component <component_name>.
Current Situation
Currently, creating a custom component requires manual steps. Namely, the developer must use the template repository and
pip install cookiecutter
.Since the template repo is a Git repo, you need to have
git
installed when you runcookiecutter
to use the template. This is an unnecessary added dependency and barrier to entry.Proposed Actions
Create a Command Line Interface (CLI) for creating custom components.
For example, Django has it's
django-admin startproject <project_name>
command for users. We could implement something similar. For example,idom new_component <component_name>
.We most likely will implement this by using the setuptools script parameter.
Work Items
cookiecutter
on the static template repo to start a new project