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.
simply run npx gentree <name of folder>
eg: npx gentree .
, npx gentree lib
, npx gentree src
.
- make sure you have node and npm installed.
- run
npm i -g gentree
.
- run
gentree <name of the folder>
eg:gentree .
,gentree lib
,gentree src
.
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!