def do_ls(self, command):
        """ls <interface>: shows the content of the current dir of 'interface'."""
        fsi, name = self.parse_fs_command(command, nargs=0)
        if (fsi is None) or (name is None):
            return
        try:
            content = fsi.listdir()
        except OperationFailure as e:
            self.stdout.write(Text("Error: {m}\n".format(m=e.message), "red"))
        else:
            self.stdout.write("  " + "\n  ".join(content) + "\n")
ls <interface>: shows the content of the current dir of 'interface'.
bin/mc.py