Skip to main content

Helpers for dealing with application settings

Project description

Django Click

https://img.shields.io/travis/GaretJax/django-click.svg https://img.shields.io/pypi/v/django-click.svg https://img.shields.io/pypi/dm/django-click.svg https://img.shields.io/coveralls/GaretJax/django-click/master.svg https://img.shields.io/badge/docs-latest-brightgreen.svg https://img.shields.io/pypi/l/django-click.svg https://img.shields.io/requires/github/GaretJax/django-click.svg

django-click is a library to easily write django management commands using the click command line library.

Installation

pip install django-click

Example

Create a command module as you would usually do, but instead of creating a class, just put a djclick command into it:

import djclick as click

@click.command()
@click.argument('name')
def command(name):
   click.secho('Hello, {}'.format(name), fg='red')

History

0.1.0 – Unreleased

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-click, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_click-0.1.0-py2-none-any.whl (5.4 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-click-0.1.0.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page