def command_ls(self, list_what):
if list_what in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>callback = getattr(self.environment, '<STR_LIT>' % list_what)<EOL>lst = callback()<EOL><DEDENT>else:<EOL><INDENT>lst = []<EOL><DEDENT>if len(lst) != <NUM_LIT:0>:<EOL><INDENT>print(("<STR_LIT:\n>".join(lst)))<EOL><DEDENT>
Lists the available/mounted/unmounted sftp systems.
        Usage: sftpman ls {what}
        Where {what} is one of: available, mounted, unmounted