1.在github地址安装mddirmddirnpmimddir-g在当前目录使用命令,默认生成到当前目录mddir保存到相对目录mddir~/Documents/whatever保存到绝对目录mddir/absolute/path示例|--react-demo|--.gitignore|--README.md|--package-lock.json|--package.json|--public||--网站图标.ico||--index.html||--logo192.png|--logo512.png||--清单.json||--robots.txt|--src|--App.css|--App.js|--App.test.js|--索引。css|--index.js|--logo.svg|--serviceWorker.js|--setupTests.js2.Treer安装github地址treerpmitreer-guse//忽略指定文件夹treer-i'node_modules'//将目录结构保存到文件中treeer-e'directoryList.md'//忽略指定目录并保存treeer-i'node_modules'-e'directoryList.md'见下文或github$treeer--help用法:treeer[options]选项:-h,--help输出使用信息-V,--version输出版本号-d,--directory[dir]请指定生成结构的目录etree-i,--ignore[ig]可以忽略特定目录名-e,--export[epath]exportintofile说明react-demo├─.gitignore├─README.md├─directoryList.md├─package-lock.json├─package.json├─src|├─App.css|├─App.js|├─App.test.js|├─index.css|├─index.js|├─logo.svg|├─serviceWorker.js|└setupTests.js├─公开|├─favicon.ico|├─index.html|├─logo192.png|├─logo512.png|├─清单.json|└机器人.txt
