directory-tree
print your directory on shell and clipboard.
Get Started
- Bash
npm i -g print-dirpdir -hpdir [.] [-t ./theme.json] [--igd "node,theme"] [--sort dir] [-o ./out.txt] [-m 5]
- Package
var dirTree = let treeData = /* return treeData.treeStringtreeData.infoStringtreeData.fileNumtreeData.dirNum*/
Default Options
const default_options = t: path // theme of char _: process // directory igf: "" // ignores files (regular expression matching) igd: "" // ignores dirs (regular expression matching) prefix: '' // prefix of each line pa: false // print all at once sort: '' // file sort by "file"/"dir", default is sort by filename. // o: "./out.txt" // store where //m: 1 // max Level
Default Theme