一般来说,我们为项目写readme文档时,都会对整个目录的项目结构做个说明。 在 GitHub 上经常看见项目文档上会列出项目的目录结构,比如:
主要用的就是 tree 命令,windows 和 linux 命令有些差别,这里讲的是 windows 的。
生成目录结构:tree 生成目录结构(包括文件):tree /f