-
Notifications
You must be signed in to change notification settings - Fork 10
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
What about a datalad tree
command?
#78
Comments
Thank you for the suggestion @mih ! I agree that it makes sense to reimplement a 'tree'-like command in pure Python. This way we don't need the dependency on the platform-specific tree program. (Although it exists for both Unix-based OS's and Windows, in my experience in some distributions it's not installed by default.) A minimal implementation should be straightforward enough (something like https://github.com/kddnewton/tree/blob/main/tree.py ). We can then think about:
What do you think? I would love to to have a go at a first implementation if that's ok with you! |
This sounds great! I would personally focus on long-form options for now (i.e. Would be awesome if you could propose an implementation for that! If you need any assistance setting up a new command, I'd be happy to support you! |
Sure, that sounds like a good idea! I have not attempted a DataLad extension yet, so I will fork this repo and try to get something minimal running first (I assume analogous suggestions apply as for the extension template). I will let you know if I get stuck. |
From my POV there is no need for a new extension. I would be happy to include it here into the |
Yes, that's how I understood it too -- as a separate subcommand included in the |
Idea and implementation in
sh
by @catetrai at https://github.com/catetrai/tree-dataladThe text was updated successfully, but these errors were encountered: