Exemplo n.º 1
0
 def toolUsage(self, tool_name):
     "Show usage string for the given command-line tool."
     toolclass = getToolByName(tool_name)
     tool = toolclass(prog=tool_name)
     print tool.format_help()
Exemplo n.º 2
0
 def showTools(self):
     "List all command-line tools in the recon-tools system."
     for toolname in tool_names:
         print toolname
         print getToolByName(toolname).description