🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

pastree

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pastree

Generate directory structures from tree-like input.

0.1.3
PyPI
Maintainers
1

pastree 🥐 ˖ 🌴

pastree is a command-line tool for generating directory structures from tree-like input. Just paste your desired structure, and pastree creates all the necessary directories and files for you.

Features

  • Quickly scaffold complex directory structures.
  • Supports a tree-style input format for intuitive use.
  • Works cross-platform (Linux, macOS, Windows).

Installation

Install pastree using pip:

pip install pastree

Usage

After installation, run the pastree command:

pastree

Example

  • Run the pastree command in your terminal.

  • Paste your desired directory structure (in a tree-like format):

    my_project/
    ├── LICENSE
    ├── README.md
    ├── setup.py
    ├── my_project/
    │   ├── __init__.py
    │   └── main.py
    └── tests/
        ├── __init__.py
        └── test_main.py
    
  • Press Ctrl+D (Linux/macOS), Ctrl+Z (Windows) or press enter twice to finish.

  • pastree will create the corresponding directories and touch the files

Contributing

Contributions are welcome! To contribute:

  • Fork this repository.
  • Make your changes in a new branch.
  • Submit a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Feedback and Support

If you encounter any issues or have suggestions for improvement, feel free to open an issue on GitHub.

Happy pastree making! 🌳 🌲 🌴

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts