damnever / pigar

:coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)

Home Page:https://damnever.github.io/pigar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to comply with .gitignore rules

Aydinhamedi opened this issue · comments

Is your feature request related to a problem? Please describe.
In my project there are some temp folders that i dont want to check

Describe the solution you'd like
be a arg or a ignore file to set dir/files to ignore

Does pigar generate --exclude-glob meet your needs? Run pigar generate --help for more details.

Thanks this works but if it possible add something like gitignore so we can create a text file with the ignore files\dirs.

I believe it would be nice to honor .gitignore, but at the moment, I don't have the time to implement this feature.

I will keep the issue open until you have time to implement it.