Skip to content

Poor man's python implementation of the tree command

Notifications You must be signed in to change notification settings

dbalakirev/snaketree

Repository files navigation

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

About

Poor man's python implementation of the tree command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published