def METHOD_NAME(self, *args, **options):
    days = options['days']
    occurrences = options['occurrences']
    verbose = False
    queue_slugs = options['queues']
    queues = []
    if options['escalate-verbosely']:
        verbose = True
    # this should already be handled by argparse
    if not occurrences: occurrences = 1
    if not (days and occurrences):
        raise CommandError('One or more occurrences must be specified.')
    if queue_slugs is not None:
        queue_set = queue_slugs.split(',')
        for queue in queue_set:
            try:
                q = Queue.objects.get(slug__exact=queue)
            except Queue.DoesNotExist:
                raise CommandError("Queue %s does not exist." % queue)
            queues.append(q)
    create_exclusions(days=days, occurrences=occurrences, verbose=verbose, queues=queues)