def main(*args):
    '\n    Process command line arguments and invoke bot.\n\n    If args is an empty list, sys.argv is used.\n\n    @param args: command line arguments\n    @type args: str\n    '
    filename = 'fb2w.nt.gz'
    for arg in pywikibot.handle_args(args):
        if arg.startswith('-filename'):
            filename = arg[11:]
    bot = FreebaseMapperRobot(filename)
    bot.run()
Process command line arguments and invoke bot.

If args is an empty list, sys.argv is used.

@param args: command line arguments
@type args: str
def main(*args):
    '\n    Process command line arguments and invoke bot.\n\n    If args is an empty list, sys.argv is used.\n\n    @param args: command line arguments\n    @type args: str\n    '
    filename = 'fb2w.nt.gz'
    for arg in pywikibot.handle_args(args):
        if arg.startswith('-filename'):
            filename = arg[11:]
    bot = FreebaseMapperRobot(filename)
    bot.run()