Is it possible to have a command tree output?

I found that there is --experimental-dump-help to get a json output of all commands. I was wondering if it is possible to get a command tree output? Something along the lines of

> MyTool cmdtree
MyTool
    ├── tools                               : collection of commands for tools
    │   ├── account                         : collection of commands for tools accounts
    │   │   ├── get                         : Query tools accounts
    │   │   └── sync                        : Sync tools accounts

For new people using the tool it is nice to have so they can just see all command and their sub commands.

2 Likes