Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directories not displayed: 'gitignoring' by default may be misleading #244

Open
lucaspar opened this issue Nov 7, 2023 · 0 comments
Open

Comments

@lucaspar
Copy link

lucaspar commented Nov 7, 2023

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*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant