@classmethod
    def load_from_command_line(cls, arglist, instream=None):
        '''
        usage::
        
            manage.py datatap Document [<app label>, ...] [<collection name>, ...]
        '''
        parser = OptionParser(option_list=cls.command_option_list)
        options, args = parser.parse_args(arglist)
        document_sources = list()
        for arg in args: #list of apps and collection names
            if arg in '.':
                document_sources.append(get_document(*arg.rsplit(".", 1)))
            else:
                #get docs from appname
                document_sources.extend(get_documents(arg))
        return cls(instream=document_sources, **options.__dict__)
dataset/ETHPy150Open zbyte64/django-dockit/dockit/datataps.py/DocumentDataTap.load_from_command_line/swapped operands of `in`