Given a command_template determine which other templates it
    depends on. This should not be used as the be-all end-all of
    dependencies and before calling each command, ensure that it's
    requirements are  met.

def _get_prelim_dependencies(command_template, all_templates):
    """ Given a command_template determine which other templates it
    depends on. This should not be used as the be-all end-all of
    dependencies and before calling each command, ensure that it's
    requirements are  met.
    """
    deps = []
    for input in command_template.input_parts:
        if '.' not in input.alias:
            continue
        for template in all_templates:
            for output in template.output_parts:
                if input.fuzzy_match(output):
                    deps.append(template)
                    break
    return list(set(deps))