/tests/regressiontests/bash_completion/management/commands/test_command.py
https://code.google.com/p/mango-py/ · Python · 14 lines · 10 code · 4 blank · 0 comment · 0 complexity · d64be7093fca6184bd543e3aa352765e MD5 · raw file
- 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