is_tool()
Returns success if the given string ($1) is a tool name ($1).
$1 - Name of tool
tool_category()
Prints the category for the given tool ($1). If the tool exists does not exist in any category, prints nothing.
$1 - Name of tool
tool_cats()
Prints the categories for the tiven tools ($@). If no tools are given, prints all tool categories.
tool_name()
Prints the base name of the given tool ($1)
$1 - Name of tool
tool_names()
Prints the base names of the given tools ($@). If no tools are given, prints all tool names.
tool_symbol()
Prints the symbol name for the given tool ($1).
$1 - Name of tool
for_each_tool()
Run the given command ($@) for all package tools.
run_each_tool()
Run the given command ($@) for all package tools.
run_tool_version()
Runs the version command for the given tool ($1).
$1 - Name of tool
tool_class_deps()
Returns a list of all native package dependencies for the given tool class ($1).
$1 - Name of class: client or server