MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / main

Function main

site/source/get_wiki.py:197–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195
196# parser options
197def main():
198 parser = optparse.OptionParser(version="%prog 0.1.1", usage="Usage: %prog [options] version")
199 parser.add_option("-c", "--clonewiki", action="store_true", default=False, dest="clonewiki", help="Clean and clone the latest wiki")
200 options = parser.parse_args()[0]
201
202 print('Clone wiki: %s' % options.clonewiki)
203 if options.clonewiki:
204 CloneWiki()
205 # input = raw_input('CHECK ALL files were cloned! (look for "error: unable to create file" )\n')
206
207 ConvertFilesToRst()
208 FixupConvertedRstFiles()
209 print('See LOG for details: %s ' % logfilename)
210
211
212if __name__ == '__main__':

Callers 1

get_wiki.pyFile · 0.70

Calls 4

CloneWikiFunction · 0.85
ConvertFilesToRstFunction · 0.85
FixupConvertedRstFilesFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected