sift icon indicating copy to clipboard operation
sift copied to clipboard

Three exclude flags should have standard behavior

Open ghost opened this issue 7 years ago • 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.

ghost avatar Aug 14 '17 17:08 ghost

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

svent avatar Aug 20 '17 23:08 svent

Thanks! I look forward to it.

ghost avatar Aug 21 '17 17:08 ghost