def METHOD_NAME(opts, args):
    moduleargs = defaultArgs()
    # Read Module Command Line Arguments.
    for opt, arg in opts:
        if opt in ("-n", "--name"):
            moduleargs['name'] = arg
        elif opt in ("-t", "--toolsdir"):
            moduleargs['toolsdir'] = arg
        elif opt in ("-o", "--overwrite"):
            moduleargs['overwrite'] = True
    return moduleargs