medit/api/gendefs.py

15 lines
242 B
Python
Raw Normal View History

2010-12-10 03:11:38 -08:00
#! /usr/bin/env python
import os
import re
import sys
import optparse
import fnmatch
from mpi.module import Module
from mpi.defswriter import Writer
for arg in sys.argv[1:]:
mod = Module.from_xml(arg)
Writer(sys.stdout).write(mod)