svent/sift

Three exclude flags should have standard behavior

Opened this issue · 2 comments

Currently,

  • --exclude-dirs can be passed multiple times, and can only exclude directories in the pwd of the sift process
  • --exclude-ext requires a comma-separated list, and can only be passed once (the last one will determine the exclusion)
  • --exclude-path can exclude a file or directory at any directory depth, but can only be passed once

It would be much more user-friendly to accept all flags zero or more times as ...-dirs currently behaves, and to generally standardize the exclusion specification behavior.

svent commented

Thanks for opening this issue - these options definitely need some work and I will look into this for an upcoming version.

Thanks! I look forward to it.