hc99's picture
Add files using upload-large-folder tool
2c3c408 verified
from textual.app import App
from textual.containers import Container
from textual.widgets import DirectoryTree
class TreeApp(App):
def compose(self):
tree = DirectoryTree("~/projects")
yield Container(tree)
tree.focus()
app = TreeApp()
if __name__ == "__main__":
app.run()