MCPcopy Create free account
hub / github.com/bspaans/python-mingus / main

Function main

scripts/api_doc_generator.py:255–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253
254
255def main():
256 print("mingus version 0.5, Copyright (C) 2008-2015, Bart Spaans\n"
257 "mingus comes with ABSOLUTELY NO WARRANTY. This is free\n"
258 "software and you are welcome to redistribute it under\n"
259 "certain conditions.")
260 if len(sys.argv) == 1:
261 print('\n\nUsage:', sys.argv[0], 'OUTPUT-DIRECTORY')
262 sys.exit(1)
263 elif not os.path.isdir(sys.argv[1]):
264 print('\n\nError: not a valid directory:', sys.argv[1])
265 sys.exit(1)
266 generate_package_wikidocs('mingus.core', 'ref', '.rst')
267 generate_package_wikidocs('mingus.midi', 'ref', '.rst')
268 generate_package_wikidocs('mingus.containers', 'ref', '.rst')
269 generate_package_wikidocs('mingus.extra', 'ref', '.rst')
270
271
272if __name__ == '__main__':

Callers 1

Calls 1

Tested by

no test coverage detected