https://github.com/sla-ppy/002-tree_command
[F] Tree command implementation in C++
https://github.com/sla-ppy/002-tree_command
cpp early-attempts
Last synced: about 1 year ago
JSON representation
[F] Tree command implementation in C++
- Host: GitHub
- URL: https://github.com/sla-ppy/002-tree_command
- Owner: sla-ppy
- Created: 2021-05-04T12:25:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T12:23:20.000Z (about 5 years ago)
- Last Synced: 2025-05-17T21:07:28.922Z (about 1 year ago)
- Topics: cpp, early-attempts
- Language: C++
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## tree_command:
### Reproduce a very simple tree program that walks the current directory tree.
### Use std::filesystem.
____
Example output:
```
C:\src\Volty> tree.exe
src
├── Core
│ ├── Application.cpp
│ ├── GameWindow.cpp
│ ├── HID.cpp
│ ├── Math.cpp
│ └── World.cpp
└── Utils
├── ArgsParser.cpp
├── CsvLogger.cpp
├── LazyFile.cpp
├── ResourceManager.cpp
└── stl_ext.cpp
2 directories, 10 files
```
____
Simplified to:
```
src
|--- Core
|--- Application.cpp
|--- GameWindow.cpp
|--- Utils
|--- LazyFile.cpp
```