背景简介
tree显示文件架构时,让文件夹优先显示。
前置信息
- tree 指令已安装
详细信息
- 使用 --dirsfirst 参数
tree --dirsfirst
.
├── app
│ ├── api
│ │ └── v1
│ │ └── health.py
│ ├── core
│ │ ├── config.py
│ │ └── database.py
│ ├── models
│ │ └── user_basic_info.py
│ └── main.py
├── tests
│ └── test_health.py
├── pytest.ini
└── requirements.txt
以上便是本文的全部内容,感谢您的阅读,如遇到任何问题,欢迎在评论区留言讨论。