🔍 A powerful directory documentation tool that generates both tree views and content reports of your file system.
- 🌳 Generate visual directory tree structures
- 📝 Extract and document file contents
- 🚀 Easy-to-use command line interface
- 📁 Support for nested directories
- 💾 Customizable output file location
pip install dirscribe
# Basic usage
dirscribe /path/to/directory
#Specify custom output file
dirscribe /path/to/directory -o custom_report.txt
The tool generates a comprehensive report that includes:
📂 project_root
├── 📂 src
│ ├── 📄 main.py
│ └── 📄 utils.py
├── 📂 tests
│ └── 📄 test_main.py
└── 📄 README.md
================================================================================
FILE CONTENTS:
--------------------------------------------------------------------------------
File: src/main.py
...
[File contents here]
...
================================================================================
bash
dirscribe <directory_path> [-o OUTPUT_FILE]
Arguments:
directory_path Directory to scan
-o, --output Output file path (default: scan_report.txt)
To make this README even better:
Replace the placeholder links with your actual social media and GitHub links
Add actual screenshots of the tool in action
You could add these sections to the image links:
To add actual images:
Create a screenshots directory in your project
Add relevant screenshots
Update the image paths in the README
Would you like me to help you create any specific sections in more detail?
- Python 3.6 or higher
- No additional dependencies required
-o, --output
: Specify the output file path (default:scan_report.txt
)-h, --help
: Display help information and usage instructions
- 📊 Project documentation
- 🔍 Code review preparation
- 📁 File system auditing
- 📝 Content inventory
Contributions are welcome! Here's how you can help:
- 🍴 Fork the repository
- 🌿 Create your feature branch (
git checkout -b feature/AmazingFeature
) - 💾 Commit your changes (
git commit -m 'Add some AmazingFeature'
) - 📤 Push to the branch (
git push origin feature/AmazingFeature
) - 🔄 Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
- Mohammad Sadegh Sirjani - GitHub Profile
- 🌟 Inspired by the need for better directory documentation
- 🎨 Tree view ASCII art structure
- 📚 Python's os module
Your Name - @msadeqsirjani
Project Link: https://github.com/msadeqsirjani/dirscribe
Made with ❤️ by Your Name