An open API service indexing awesome lists of open source software.

https://github.com/douxxu/treegenerator

A tool to generate tree structures of directories.
https://github.com/douxxu/treegenerator

Last synced: 7 months ago
JSON representation

A tool to generate tree structures of directories.

Awesome Lists containing this project

README

          

# โ”œTreeGenerator

TreeGenerator is a command-line tool for generating and visualizing directory tree structures in a terminal.

## ๐Ÿ“‚ Requirements

To run TreeGenerator, ensure you have the following installed:

**Base:**
- [Node.js](https://nodejs.org/) (v14 or higher recommended)
- [npm](https://www.npmjs.com/get-npm)

**Packages:**
- [blessed](https://www.npmjs.com/package/blessed)
- [colors](https://www.npmjs.com/package/colors)
- [clipboardy](https://www.npmjs.com/package/clipboardy)

*Note: All these packages are available on [npm](https://www.npmjs.com/). You can install them using `npm install package-name`.*

## ๐Ÿš€ Installation

Follow these steps to install TreeGenerator:

1. Ensure you have Node.js and npm installed on your machine.
2. Open your terminal.
3. Copy and paste the following command:
```
npm install -g @douxx/treegenerator
```
4. TreeGenerator is now installed globally on your system. You can run it using the command:
```
tree
```

## โš™๏ธ Usage

To generate a tree for a specific directory, use the following command:
```
tree
```
or
```
tg
```

Replace `` with the absolute or relative path of the directory you want to visualize.

## ๐Ÿ“„ License

This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.

## ๐ŸŒ Links

- **Repository:** [https://github.com/douxxu/TreeGenerator](https://github.com/douxxu/TreeGenerator)
- **Issues:** [https://github.com/douxxu/TreeGenerator/issues](https://github.com/douxxu/TreeGenerator/issues)