addyosmani / addyosmani/git2txt

Feature request: Include/exclude files/folders

未关闭
#5 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
564
派生
58
PR 合并指标
30 天内没有已合并 PR

描述

## Challenges/opportunities
GitHub repos often contain files that are irrelevant in a "talk to this repo" context. My experience is coding tools that have full context awareness of an entire repo tend to meander into files that are irrelevant to the task at hand.

## Proposed solution
Provide the ability to explicitly include/exclude files and folders from the summary. That way the text file provides the LLM with a custom narrow scope containing only what is relevant to the task at hand.

## Expanded solution
Option that generates files for each root folder. So for a typical repo you'd get
- `full-repo.txt`
- `[root-folder-name].txt`
- `[other-root-folder-name].txt`
- etc

Could also have a config option to specify how many folders deep this creation should go:
- `[path-to-folder-name].txt`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。