def do_tree(self, params):
        """
\x1b[1mNAME\x1b[0m
        tree - Print the tree under a given path

\x1b[1mSYNOPSIS\x1b[0m
        tree [path] [max_depth]

\x1b[1mOPTIONS\x1b[0m
        * path: the path (default: cwd)
        * max_depth: max recursion limit (0 is no limit) (default: 0)

\x1b[1mEXAMPLES\x1b[0m
        > tree
        .
        ├── zookeeper
        │   ├── config
        │   ├── quota

        > tree 1
        .
        ├── zookeeper
        ├── foo
        ├── bar

        """
        self.show_output(".")
        for child, level in self._zk.tree(params.path, params.max_depth):
            self.show_output(u"%s├── %s", u"│   " * level, child)