Lines Matching defs:tool
58 """Returns directory path where DExTer tool imports can be
71 "no-tool-",
99 parser.add_argument("tool", default=None, nargs="?")
106 """get the name of the dexter tool (if passed) specified on the command
109 tool_name = options.tool
118 """check tool name matches a tool directory within the dexter tools
124 'invalid tool "{}" (choose from {})'.format(
131 """Imports the python module at the tool directory specificed by
134 # format tool argument to reflect tool directory form.
141 def tool_main(context, tool, args):
142 with Timer(tool.name):
143 options, defaults = tool.parse_command_line(args)
148 context.version = version(tool.name)
167 tool.handle_base_options(defaults)
173 return_code = tool.go()
201 # raises 'Error' if command line tool is invalid.