Structure Mapper is a Go-based utility that prints a visual representation of a directory tree.
- Prints a directory tree with folder icons.
- Excludes specified directories from the tree.
- Simple and easy to use.
-
Clone the repository:
git clone https://github.com/1Solon/structure-mapper.git
-
Navigate to the project directory:
cd structure-mapper
-
Build the project:
make build
-
Run the script:
make run <target_directory> [exceptions...]
To run the script, use the following command:
structure-mapper.exe <target_directory> [exceptions...]
Running the following command:
structure-mapper.exe /path/to/target_directory dir_to_exclude1 dir_to_exclude2
Might produce an output like this:
📁
├──📁 folder1
│ ├──📁 subfolder1
│ └──📁 subfolder2
└──📁 folder2
└──📁 subfolder3
Contributions are welcome! If you would like to contribute to the project, please open an issue or a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please open an issue.