Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 825 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 825 Bytes

Tree Generator

This is a simple application which creates a tree of your files and folders and saves them into a text.txt file and a structure.md file.

Usage:

simply run npx gentree <name of folder> eg: npx gentree ., npx gentree lib, npx gentree src.

or

Installation:

  1. make sure you have node and npm installed.
  2. run npm i -g gentree.

Usage:

  1. run gentree <name of the folder> eg: gentree ., gentree lib, gentree src.

Ignoring files and folders:

Add a .gentreeignore file in the directory you're calling it from with a list of files and folders you want to ignore at each line. eg:

node_modules/
.a_fun_file.txt

IMPORTANT BUG: Count of files and folders in final output also includes files in .gentreeignore

Happy Debugging!