Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 612 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 612 Bytes

Snaketree

Poor man's python implementation of the tree command which I missed on Windows.

Initial setup

You only have to do this once: python -m venv myvenv

Then you can install the dependencies: . myvenv/Scripts/activate.

If you need to (re-install dependencies): pip install -r requirements.txt

Usage

Currently only executed as direct python script. python app.py

You can configure the level of depth of course. python app.py -L 3

You can configure the directory to be discovered. python app.py -d /tmp

Ask for help: python app.py -h

Run the tests: python -m unittest -v test_tree