Skip to content

Add option to exclude specific dirs #17

@mhadidg

Description

@mhadidg

Currently, the tool scans and renders all files in the repo (except .git/, binaries, large files, and symlinks). In practice, many repos contain datasets, generated data, tests, or dependency dirs that add noise but no useful context. This adds unnecessary tokens for metered queries (OpenAI, Anthropic, etc.), which are charged per input token.

Proposed solution:

Introduce a new option that allows users to specify dirs (or filepath patterns) to skip.

# either explicit dirs
rendergit https://github.com/example/project --exclude-dirs tests

# or glob pattern, repeatable option
--exclude "tests/**"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions