Directories not displayed: 'gitignoring' by default may be misleading
lucaspar opened this issue · 0 comments
lucaspar commented
I was thrown off to think this was an erdtree
bug before discovering this behavior. I was getting this output:
$ erd --sort name --hidden --suppress-size --layout inverted data/
data
├─ cplatform
└─ zookeeper
2 directories
As opposed to something like
$ /usr/bin/tree data/
data/
|-- cplatform
| |-- data
| `-- logs
`-- zookeeper
|-- data
`-- logs
6 directories, 0 files
I propose adding a count of "ignored" locations at the bottom:
$ erd --sort name --hidden --suppress-size --layout inverted data/
data
├─ cplatform
└─ zookeeper
2 directories, 4 directories ignored
And/or a visual indication that items are omitted:
$ erd --sort name --hidden --suppress-size --layout inverted data/
data
├─ cplatform*
└─ zookeeper*
2 directories, 4 directories ignored*