一,安装 cnpm i -g treer 二,查看版本 treer -V 三,查看帮助 treer -h 四,生成目录结构并导出到result.txt中,以及忽略node_modules文件夹 treer -e ./result.txt -i node_modules