Currently, avoiding unwanted files requires manually duplicating paths into the --exclude flag. Since the repository's .gitignore is already doing the heavy lifting to filter out build artifacts, virtual environments, and other noise, it would be great if CodeWiki could just parse and apply those rules automatically before building the call graph.
Right now, my workaround is to write a custom shell script to parse the .gitignore, format it into a comma-separated list, and dynamically feed it to codewiki generate --exclude. While that works, having native support would be much cleaner and stop the tool from accidentally wasting LLM tokens on files git already knows to ignore.
Maybe add a --use-gitignore flag, or just have it enabled by default alongside the builtin excludes?
Currently, avoiding unwanted files requires manually duplicating paths into the
--excludeflag. Since the repository's.gitignoreis already doing the heavy lifting to filter out build artifacts, virtual environments, and other noise, it would be great if CodeWiki could just parse and apply those rules automatically before building the call graph.Right now, my workaround is to write a custom shell script to parse the .gitignore, format it into a comma-separated list, and dynamically feed it to
codewiki generate --exclude. While that works, having native support would be much cleaner and stop the tool from accidentally wasting LLM tokens on files git already knows to ignore.Maybe add a
--use-gitignoreflag, or just have it enabled by default alongside the builtin excludes?