zverok/yard-junk

Report only selected files

zverok opened this issue · 1 comments

It should be possible to run those commands (for example, to check only relevant changes on huge codebases):

yard-junk path/to/file.rb
yard-junk path/to/directory
yard-junk some/comlicated/**/pattern/*.rb

In this case, yard-junk should still process entire curent folder, but report only files matching pattern.
Processing entire folder is necessary because without parsing entire folder we can't decide whether some object is unknown.

Fixed in 0.0.4