Add a command line interface for directory_tree. The use case is installing something with the same utility as tree in an environment where pip install is available but not sudo apt install.
To make the packaging a little more Pythonic, I renamed src to directory_tree and added __init__.py and __main__.py with argparseing so that it can be invoked from the command line:
Add a command line interface for
directory_tree
. The use case is installing something with the same utility astree
in an environment wherepip install
is available but notsudo apt install
.To make the packaging a little more Pythonic, I renamed
src
todirectory_tree
and added__init__.py
and__main__.py
withargparse
ing so that it can be invoked from the command line: