parts/django/tests/regressiontests/bash_completion/management/commands/test_command.py
author Nishanth Amuluru <nishanth@fossee.in>
Sat, 08 Jan 2011 20:25:05 +0530
changeset 319 70726699ca80
parent 307 c6bca38c1cbf
permissions -rw-r--r--
now the text area is displayed in a more elegant way

import sys, os
from optparse import OptionParser, make_option

from django.core.management.base import BaseCommand


class Command(BaseCommand):
    option_list = BaseCommand.option_list + (
        make_option("--list", action="store_true", dest="list",
                    help="Print all options"),
    )

    def handle(self, *args, **options):
        pass