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

Add parsing such as dree #101

Open
euberdeveloper opened this issue Jan 7, 2022 · 3 comments
Open

Add parsing such as dree #101

euberdeveloper opened this issue Jan 7, 2022 · 3 comments

Comments

@euberdeveloper
Copy link

Hi,

first of all I want to thank you, because for parts of a similar library I have done I took inspiration by your json result

In my implementation, dree I have also added a parse function (in addition to other functionalities`, which prints the directory tree as a human-readable tree

Do you think you could implement it also in this library? I think it would be useful, especially when generating directory trees in markdown files

@mihneadb
Copy link
Owner

Hi, I'm not sure what you mean with parse. What would it do?

@euberdeveloper
Copy link
Author

It creates a string like this:

image

Of course just by the name was it difficult to guess, it is described in the documentation

@mihneadb
Copy link
Owner

Oh, so you mean serialize a directory as a string.

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

2 participants