Skip to main content

List relevant files with content in markdown format

Project description

listdump

GitHub PyPI Version License Buy Me A Coffee

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

Argument Description
includes Extensions or glob patterns to include (py, txt, log_*_202*.log, etc.)
-x, --exclude, -ex, --ex Extensions or glob patterns to exclude
-no-sub Exclude subfolders
-out=FILE Output file name (default: listdump.md)
-dir=DIR Starting directory (default: current)
-no-gitignore Do not respect .gitignore rules
-include-hidden Include normally excluded files: .git, .gitignore, and listdump.md, and license files (LICENCE, LICENSE)
-h, --help Show 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

listdump-0.2.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

listdump-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file listdump-0.2.0.tar.gz.

File metadata

  • Download URL: listdump-0.2.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for listdump-0.2.0.tar.gz
Algorithm Hash digest
SHA256 27ac7fc49ce2a579b9f68e95b1aabbe03c5b9482a3d65169e733ac90cbb1c6e6
MD5 08bbcec7cd06738c3cb4845c25f9c035
BLAKE2b-256 682939947da88f7bb0849e7da0155d3023dd8733807f029f971482fc9ec96b06

See more details on using hashes here.

File details

Details for the file listdump-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: listdump-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for listdump-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdd9dfda0f2d988acae8500e20c8c3ef73877b3fc01b00fd56f195dbc0c2363f
MD5 968447baf10bf97bcc390b27c100f61d
BLAKE2b-256 2352127c0bf70bb158bfade58a2c576ada54be82532e85f4fd4d2e1a53f65afc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page