A CLI tool to generate a customizable directory tree while ignoring specified files and folders.
Project description
Directree
Directree is a command-line tool for generating a customizable directory tree of your projects while ignoring unimportant files and folders. It is designed to help developers visualize their project structures in a clean and organized manner.
Features
- Customizable Ignoring: Specify project types (frontend, backend, machine learning) to automatically ignore common unimportant files and folders.
- User Input: Allows users to specify additional files and folders to ignore, tailoring the output to their specific needs.
- Recursive Directory Traversal: Generates a tree structure that reflects the actual organization of files and directories.
- Cross-Platform Compatibility: Works seamlessly on Windows, macOS, and Linux.
Installation
To install Directree, you can use pip:
pip install directree
Usage
Once installed, you can run the tool directly from your command line:
Step-by-Step Instructions:
- Project Type: Specify the type of your project (e.g., frontend, backend, ml, or skip).
- Additional Folders: Optionally, provide a list of additional folders to ignore, separated by commas.
- Additional Files: Optionally, provide a list of additional files to ignore, separated by commas.
- Root Directory: Enter the path of the root directory for which you want to generate the tree. Press enter to use the current directory.
Example Output
Here's an example of how Directree generates a directory tree:
Customizing Ignore Patterns
You can customize the files and folders that are ignored based on your project type and specific needs. For example, if your project is a frontend web application, you might want to ignore folders like node_modules, .firebase, and specific files like package-lock.json.
Acknowledgements
Setuptools - For packaging the project
Twine - For uploading the package to PyPI
Python - The programming language used to create Directree
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file directree-0.9.tar.gz.
File metadata
- Download URL: directree-0.9.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227fb6b5b8c4b30ee4fd7a3df1aa16eb1993ccab2dc1c2a0239b49d8fa6493d0
|
|
| MD5 |
fa313b7191448ec67281684a18506f19
|
|
| BLAKE2b-256 |
5915091fc021794789a6671605d58bff6c186a626ab26b5da35c545f3b508ff8
|
File details
Details for the file directree-0.9-py3-none-any.whl.
File metadata
- Download URL: directree-0.9-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3de7ca640cc99f017ceb63edc87d7e5f5a15572402ee1c37011dffa5a8730df
|
|
| MD5 |
6cef97d357a5fe7118e92eed0b5d4ebf
|
|
| BLAKE2b-256 |
831be6b7ee229903bd60b9849fdcfe585377480a5a6aa8f903427a3e77e92593
|