def get_help(sakefile):
full_string = "<STR_LIT>"<EOL>errmes = "<STR_LIT>"<EOL>outerlines = []<EOL>for target in sakefile:<EOL><INDENT>if target == "<STR_LIT:all>":<EOL><INDENT>continue<EOL><DEDENT>middle_lines = []<EOL>if "<STR_LIT>" not in sakefile[target]:<EOL><INDENT>innerstr = "<STR_LIT>".format(escp(target),<EOL>sakefile[target]["<STR_LIT>"])<EOL>inner = []<EOL>for atom_target in sakefile[target]:<EOL><INDENT>if atom_target == "<STR_LIT>":<EOL><INDENT>continue<EOL><DEDENT>inner.append("<STR_LIT>".format(escp(atom_target),<EOL>sakefile[target][atom_target]["<STR_LIT>"]))<EOL><DEDENT>if inner:<EOL><INDENT>innerstr += '<STR_LIT:\n>'.join(sorted(inner))<EOL><DEDENT>middle_lines.append(innerstr)<EOL><DEDENT>else:<EOL><INDENT>middle_lines.append("<STR_LIT>".format(escp(target),<EOL>sakefile[target]["<STR_LIT>"]))<EOL><DEDENT>if middle_lines:<EOL><INDENT>outerlines.append('<STR_LIT:\n>'.join(sorted(middle_lines)))<EOL><DEDENT><DEDENT>if outerlines:<EOL><INDENT>full_string += '<STR_LIT:\n>'.join(sorted(outerlines))<EOL><DEDENT>what_clean_does = "<STR_LIT>"<EOL>full_string += "<STR_LIT>".format(what_clean_does)<EOL>what_visual_does = "<STR_LIT>"<EOL>full_string += "<STR_LIT>".format(what_visual_does)<EOL>full_string = re.sub("<STR_LIT>", "<STR_LIT>", full_string)<EOL>return full_string<EOL>
Returns the prettily formatted help strings (for printing)

Args:
    A dictionary that is the parsed Sakefile (from sake.py)

NOTE:
    the list sorting in this function is required for this
    function to be deterministic