Example #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()
Example #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