Get Started fast with TreeScript generated from an existing directory.
Run the main script in a directory to treescript-ify it.
- Pipe program output to a file, or
- Display it on-screen for copy-paste workflow integration.
You can manually install a release (if you want), or use pip.
pip install treescriptify
- Hidden Files and Directories
-a
or--hide
- Either argument will hide.
- Directories Only
-d
or--directories
- Prune Empty Directories
-p
or--prune
- Tree Depth
- Example:
--depth 4
- The maximum number of parent directories in the tree.
- Example:
- Number Labels
-n
or--number-labels
- Insert Line Number DataLabels into TreeScript output.
- Gitignore Patterns
--gitignore
or--no-gitignore
- Either argument disables Gitignore, which is on by default.