folder-structure-cli
v1.0.2
Published
A CLI tool to generate and represent a folder structure using various methods.
Downloads
6
Maintainers
Readme
Folder Structure CLI
A CLI tool to generate and represent folder structures using various methods with color-coded styles.
Installation
You can install this package globally using npm:
npm install -g folder-structure-cli
Usage
After installation, you can use the gen-structure command to generate folder structures.
Commands
gen-structure - Run the CLI tool and follow the prompts to select the structure mode and style.
Example
gen-structure
You will be prompted to select the mode (Tree or Bullet) and the style (Modern or Classic). The output will be color-coded to help distinguish between different styles.
Modes and Styles
Tree Mode:
Modern: Uses green for lines and cyan for bullets.
Classic: Uses blue for lines and magenta for bullets.
Bullet Mode:
Modern: Uses a bullet (•) symbol.
Classic: Uses an arrow (→) symbol.
Screenshots
Here are some examples of what the output looks like:
![Alt text](c:\Users\supri\Desktop\folder-structure-cli\images\image1.png)
![Alt text](c:\Users\supri\Desktop\folder-structure-cli\images\image2.png)
![Alt text](c:\Users\supri\Desktop\folder-structure-cli\images\image3.png)
Tree Mode - Modern Style:
├── index.js
├── node_modules/
├── package-lock.json
├── package.json
└── test.js
Bullet Mode - Classic Style:
→ index.js
→ node_modules/
→ package-lock.json
→ package.json
→ test.js