Make this a CookieCutter template
CookieCutter allows a repo to be used as an automatic template with text replacement, e.g. by allowing placeholder text like the project name.
Here is an example of a cookiecutter template for a python project
It works like this:
> cookiecutter https://github.com/audreyfeldroy/cookiecutter-pypackage
full_name [Audrey Roy Greenfeld]: My Name
github_username [audreyr]: somebody
project_name [Python Boilerplate]: supertest
project_slug [supertest]:
project_short_description [Python Boilerplate contains all the boilerplate you need to create a Python package.]: Just a test
pypi_username [somebody]:
version [0.1.0]:
use_pytest [n]: y
use_black [n]: y
use_pypi_deployment_with_travis [y]: n
add_pyup_badge [n]: n
Select command_line_interface:
1 - Click
2 - Argparse
3 - No command-line interface
Choose from 1, 2, 3 [1]: 1
create_author_file [y]:
Select open_source_license:
1 - MIT license
2 - BSD license
3 - ISC license
4 - Apache Software License 2.0
5 - GNU General Public License v3
6 - Not open source
Choose from 1, 2, 3, 4, 5, 6 [1]: 2
Which then creates a structure like:
supertest/
├── AUTHORS.rst
├── CONTRIBUTING.rst
├── HISTORY.rst
├── LICENSE
├── MANIFEST.in
├── Makefile
├── README.rst
├── docs
│ ├── Makefile
│ ├── authors.rst
│ ├── conf.py
│ ├── contributing.rst
│ ├── history.rst
│ ├── index.rst
│ ├── installation.rst
│ ├── make.bat
│ ├── readme.rst
│ └── usage.rst
├── requirements_dev.txt
├── setup.cfg
├── setup.py
├── supertest
│ ├── __init__.py
│ ├── cli.py
│ └── supertest.py
├── tests
│ ├── __init__.py
│ └── test_supertest.py
└── tox.ini
Edited by Karl Kosack