Skip to content
/ treemd Public

A Go-based utility that prints a visual representation of a directory tree

License

Notifications You must be signed in to change notification settings

1Solon/treemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Structure Mapper

Structure Mapper is a Go-based utility that prints a visual representation of a directory tree.

GitHub Repo stars GitHub forks

Features

  • Prints a directory tree with folder icons.
  • Excludes specified directories from the tree.
  • Simple and easy to use.

Installation

  1. Ensure you have Go installed.

  2. Clone the repository:

git clone <repository-url>
  1. Navigate to the project directory:
cd structure-mapper

Usage

To run the script, use the following command:

go run repo-mapper.go <target_directory> [exceptions...]

Example

Running the following command:

go run repo-mapper.go /path/to/target_directory dir_to_exclude1 dir_to_exclude2

Might produce an output like this:

📁
├──📁 folder1
│   ├──📁 subfolder1
│   └──📁 subfolder2
└──📁 folder2
    └──📁 subfolder3

Contributing

Contributions are welcome! If you would like to contribute to the project, please open an issue or a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please open an issue.

About

A Go-based utility that prints a visual representation of a directory tree

Resources

License

Stars

Watchers

Forks