Skip to content

[建议]允许init时指定目录,而不一定是根目录 #3

Description

@Morriaty-The-Murderer

一些项目(尤其是屎山项目)可能结构特别乱,比如:

- backend
  - im
  - api
  - models
  - pages
- frontend
  - xxx
  - xxx
  - xxx
- queue
  - xxxx
  - xxxxx

根目录下面一堆无关文件和文件夹。直接在根目录 init,AI 拿到的信息既杂乱又无用,反而会影响理解和分析。如果能在 init 的时候,手动指定一个子目录,比如 ‎backend 或 ‎frontend,那 AI 获取到的上下文会更聚焦、更有意义。这样不但能提升分析效率,也能减少“屎山”项目带来的困扰。建议支持 ‎init-codelf path/to/your/target 这种用法,让开发者按需选择初始化范围

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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