Hi there,
I’m new to Elixir, and I need some advices about my code. In a few words, it simply lists all directories and subdirectories from a given path.
How to use it? mix escript.build && escript directorytree yourpath
I think the way I parse options from the command line could be better, more concise. Do I really need to do all those things in parse_args? Is reduce the only way I have to list directories? How can I avoid escript and execute directly the directorytree executable under windows?
That’s the kind of questions I’m asking to myself and to you, elixir experts!
You can find my sources here : https://github.com/DidJS/Directorytree (lib/directorytree.ex)
Thanks in advance for your time,
Didier