code: def main():
    
    parser = argparse.ArgumentParser()
    parser.add_argument('whl_file',
                        help='The input whl file.')
    parser.add_argument('dest_dir',
                        help='The destination directory for the output whl.')
    parser.add_argument('target_version',
                        help='The target version of the output whl.')
    parser.add_argument('--glob', action='append',
                        default=[
                          '*.dist-info/*',
                          '*-nspkg.pth',
                        ],
                        help='Globs (fnmatch) to rewrite within the whl: may be specified multiple times.')
    args = parser.parse_args()
    reversion(args)
docs: Given an input whl file and target version, create a copy of the whl with that version.
  
    This is accomplished via string replacement in files matching a list of globs. Pass the
    optional `--glob` argument to add additional globs: ie  `--glob='thing-to-match*.txt'`.