django-argparse-command icondjango-argparse-command 0.1.0

Django Commands using ArgumentParser
Take a look at examples to get started for now. argcmd.make_option is just a function that returns a tuple of args/kwargs ie ((), {}, ) which will later be added to the parser as parser.add_argument(*args, **kwargs).

Usage:

django-argparse-command is a Django app for converting from Django commands to ArgParse commands.

* Change **from django.core.management.base import BaseCommand** to **from argcmd.management.base import BaseCommand**
* Change **from optparse import make_option** to **from argcmd import make_option**
* Change option_list to arg_list
* Some options might need a little tweaking due to incompatibilities

last updated on:
January 3rd, 2012, 13:18 GMT
price:
FREE!
developed by:
Allan Lei
license type:
BSD License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT