TreeGenerator is a command-line tool for generating and visualizing directory tree structures in a terminal.
To run TreeGenerator, ensure you have the following installed:
Base:
Packages:
Note: All these packages are available on npm. You can install them using npm install package-name
.
Follow these steps to install TreeGenerator:
- Ensure you have Node.js and npm installed on your machine.
- Open your terminal.
- Copy and paste the following command:
npm install -g @douxx/treegenerator
- TreeGenerator is now installed globally on your system. You can run it using the command:
tree <path>
To generate a tree for a specific directory, use the following command:
tree <path>
or
tg <path>
Replace <path>
with the absolute or relative path of the directory you want to visualize.
This project is licensed under the MIT License. See the LICENSE file for details.