A collection of cookiecutter templates for use in MobileCoinFoundation repositories.
Each subdirectory contains a cookiecutter
template. See individual README
files for more details on what each one does.
Invoking cookiecutter
with this repository requires the use of the
--directory
option.
For example to use the rust-workspace
template.
cookiecutter gh:mobilecoinfoundation/cookiecutters --directory rust-workspace
To install cookiecutter consider using something like pipx.
The advantage to using pipx
is that cookiecutter
will be installed in an
isolated python environment.
Note: The following suggested install is isolated to the current user. This means the use
sudo
is not needed, or recommended. Usingsudo
with these specific commands will almost certainly cause issues.
Install pipx:
python3 -m pip install --user pipx
python3 -m pipx ensurepath
Restart your terminal
Install cookiecutter:
pipx install cookiecutter
There is alternate installation instructions provided by the cookiecutter
docs, https://cookiecutter.readthedocs.io/en/stable/installation.html, however
this results in pulling cookiecutter
dependencies into the system or user python
environment.