Welcome to dmp-cli’s documentation!¶
dmp-cli¶
A command-line-interface for django-mako-plus.
- Documentation: https://knowsuchagency.github.io/dmp-cli
- Source: https://github.com/knowsuchagency/dmp-cli
Installation¶
pipenv install -d dmp-cli
# or
pip install dmp-cli
Usage¶
To create a new django-mako-plus project use
dmp new project [NAME]
Similarly, for new apps
dmp new app [NAME]
These are just shortcuts for
python3 -m django startproject --template=http://cdn.rawgit.com/doconix/django-mako-plus/master/project_template.zip [NAME]
# and
python3 manage.py startapp --template=http://cdn.rawgit.com/doconix/django-mako-plus/master/app_template.zip --extension=py,htm,html [NAME]
… but use the templates on your local filesystem from the currently installed version of DMP, rather than fetching the templates from github.
Command Line Interface¶
Usage: [OPTIONS] COMMAND [ARGS]...
The django-mako-plus cli.
Options:
--help Show this message and exit.
Commands:
new Create a new project or app.