A recursive directory listing program that supports file-size reporting, and pattern matching. Inspired by the [`tree`](http://www.computerhope.com/unix/tree.htm) UNIX command.
npm install @aweary/aldertree!Alder: the better tree printer
alder should be installed globally using yarn.
yarn global add @aweary/alder
`
or with npm:
`
npm install -g @aweary/alder
`Usage
`
Usage: alder [options] [target] Options:
-h, --help output usage information
-V, --version output the version number
-a, --all Print all files, including hidden files
-d, --directories Only print directories
-D, --date-modified Print the last modified date for each file
-i, --no-indent Tree will not print the indentation lines
-f, --full Print the full path prefix for each file
-s, --sizes Show file sizes in tree
-e, --exclude Exclude files matching a pattern
-in, --include Include only files that match a pattern
-d, --depth Only render the tree to a specific depth
--prune Prune empty directories from the output
--filelimit Do not descend directories that contain more than # entries
--jsx Print directory structure as JSX
`$3
You can pass a string that will be parsed as a regular expression to
--exclude:`sh
excluding single directory
alder --exclude=.gitexcluding multiple directories
alder --exclude=".git|bower_components|node_modules"
`$3
You can pass a string that will be parsed as a regular expression to
--include:`sh
including single file pattern
alder --include=packageincluding multiple files patterns
alder --include="package|webpack"
``