Skip to main content

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:

Image description

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 vbnet Copy code

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

directree-0.4.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

directree-0.4-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file directree-0.4.tar.gz.

File metadata

  • Download URL: directree-0.4.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for directree-0.4.tar.gz
Algorithm Hash digest
SHA256 d5e99989c7e7aa3c52f1faa57cda8e6f5aa0383812f1cae7a09d370be45c1502
MD5 4d8bf407857a6b5fea0bdc1f5127c768
BLAKE2b-256 68bbe7b55f222a12360751525e3416f63e3b8ab2c910d1a2a572b40d2f2b9dd4

See more details on using hashes here.

File details

Details for the file directree-0.4-py3-none-any.whl.

File metadata

  • Download URL: directree-0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for directree-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6af277aec6cf0bc74b0903c0300daa8c076198438d486ef26da6d9a74f6a150a
MD5 5da10cf286b9c39301c95172830ac2ed
BLAKE2b-256 1ec1e7d15eff21c1ba3412846d1bd6c82d672fb1251341d6642b1248f12737ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page