Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pasanlaksitha/project-structure-generator
Generate ASCII Project Structure using Directory
https://github.com/pasanlaksitha/project-structure-generator
ascii-genrator genrator project-structure-genrator structure
Last synced: 4 days ago
JSON representation
Generate ASCII Project Structure using Directory
- Host: GitHub
- URL: https://github.com/pasanlaksitha/project-structure-generator
- Owner: Pasanlaksitha
- License: apache-2.0
- Created: 2024-08-18T21:44:52.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T22:00:28.000Z (5 months ago)
- Last Synced: 2024-08-20T23:05:16.386Z (5 months ago)
- Topics: ascii-genrator, genrator, project-structure-genrator, structure
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Directory Tree Generator
This Python script generates a visual representation of a directory tree, either printing it to the console or saving it to a file. It can be useful for documenting the structure of a project, particularly when you want to include the directory layout in documentation or README files.
## Features
- Recursively prints the directory tree starting from a specified root directory.
- Saves the directory tree structure to a specified text file with UTF-8 encoding.## Usage
1. **Run the script:**
You can run the script directly by executing it with Python:
```bash
python genrator.pyReplace genrator.py with the actual name of your Python file.
- : The root directory from which to start the tree.
- : The name of the output file where the directory structure will be saved.```bash
python genrator.py C:\Projects\Python\ project_structure.txt