You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

listdump

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

listdump

List relevant files with content in markdown format

0.1.6
Source
pipPyPI
Maintainers
1

listdump 📂💻→📝

PyPI – Version

listdump is a lightweight CLI tool that recursively (or non-recursively) lists relevant files in a directory and outputs their contents wrapped in Markdown-style code blocks (```), ready for documentation, debugging, or review.

by Tim Abdiukov

📦 Installation

pip install listdump

Run it from anywhere using:

listdump [arguments]

🚀 Usage

listdump [includes] [-x excludes] [-no-sub] [-out=filename] [-dir=path] [-no-gitignore] [-include-hidden]

🔧 Arguments

ArgumentDescription
includesExtensions or glob patterns to include (py, txt, log_*_202*.log, etc.)
-x, --excludeExtensions or glob patterns to exclude
-no-subExclude subfolders
-out=FILEOutput file name (default: output.md)
-dir=DIRStarting directory (default: current)
-no-gitignoreDo not respect .gitignore rules
-include-hiddenInclude normally excluded files: .git, .gitignore, and listdump.md, and license files (LICENCE, LICENSE)
-h, --helpShow help message

🧪 Examples

listdump txt py -x log tmp

Includes .txt and .py files, excludes .log and .tmp

listdump py -no-sub

Includes .py files only in the current directory

listdump py -no-gitignore -include-hidden

Includes .py files, even those ignored by .gitignore and including .git, .gitignore, listdump.md, and license files

Tim Abdiukov

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts