Welcome to dmp-cli’s documentation!

dmp-cli

https://img.shields.io/pypi/v/dmp-cli.svg https://img.shields.io/travis/knowsuchagency/dmp-cli.svg Updates https://img.shields.io/github/license/mashape/apistatus.svg

A command-line-interface for django-mako-plus.

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.

Indices and tables