def list_aliases():
 ret = dict(((alias, target) for (alias, target, comment) in __parse_aliases() if alias))
 return ret

def list_aliases ( ) : ret = dict ( ( ( alias , target ) for ( alias , target , comment ) in __parse_aliases ( ) if alias ) ) return ret
return the aliases found in the aliases file in this format:: {alias: target} cli example: .