# Path: pupa/cli/commands/base.py
# class BaseCommand(object):
# 
#     def __init__(self, subparsers):
#         self.subparser = subparsers.add_parser(self.name, description=self.help)
#         self.add_args()
# 
#     def add_args(self):
#         pass
# 
#     def add_argument(self, *args, **kwargs):
#         self.subparser.add_argument(*args, **kwargs)
# 
#     def handle(self, args):
#         raise NotImplementedError('commands must implement handle(args)')
# 
# Path: pupa/exceptions.py
# class CommandError(PupaError):
#     """ Errors from within pupa CLI """


import django
from .base import BaseCommand
from pupa.exceptions import CommandError
        from opencivicdata.core.models import Organization


class Command(BaseCommand):
    name = 'party'
    help = 'command line tool to manage parties'

    def add_args(self):

# Path: pupa/cli/commands/base.py
# class BaseCommand(object):
# 
#     def __init__(self, subparsers):
#         self.subparser = subparsers.add_parser(self.name, description=self.help)
#         self.add_args()
# 
#     def add_args(self):
#         pass
# 
#     def add_argument(self, *args, **kwargs):
#         self.subparser.add_argument(*args, **kwargs)
# 
#     def handle(self, args):
#         raise NotImplementedError('commands must implement handle(args)')
# 
# Path: pupa/exceptions.py
# class CommandError(PupaError):
#     """ Errors from within pupa CLI """


# Path: pupa/cli/commands/party.py
import django
from .base import BaseCommand
from pupa.exceptions import CommandError
        from opencivicdata.core.models import Organization



class Command(BaseCommand):
    name = 'party'
    help = 'command line tool to manage parties'

    def add_args(self):

        self.add_argument('action', type=str, help='add|list')