9 from mdoc import worker
11 from test.xxx import MyClass
13 usage = 'mdoc <source> <target-format>'
15 def command_dispatch(args):
17 # check runtime parameters
19 raise RuntimeError("xets needs 2 arguments.")
24 return worker.convert(file, format)
27 # evaulate runtime parameters
28 if __name__ == '__main__':
30 ret = command_dispatch(sys.argv[1:])
34 except Exception as e: