Recursively flatten a directory
npm install @hutsoninc/flatten-dir-clinpm install --global @hutsoninc/flatten-dir-cli
$ flatten --help
Recursively flatten a directory
Usage
$ flatten
`
`
$ tree
.
├── stuff
│ ├── things.txt
│ ├── 1
│ │ ├── things.txt
│ │ └── more-things.txt
│ └── 2
│ └── another-thing.txt
│ ...
$ flatten stuff
$ tree
.
├── stuff
│ ├── things.txt
│ ├── things-1.txt
│ ├── more-things.txt
│ └── another-thing.txt
│ ...
``