Adds support to print info for multiple files.
Description
This is a bit of a 2 for 1:
- It adds a new option,
--path, so that we can provide a custom path to our deprecation files. - With this option we can also give the
deprecationscommand a file glob. That way it will print out information on the deprecation warnings present in all the files that match that glob.
And that's basically it.
Motivation and Context
The motivation is given on the issue it fixes. Fixes #3.
How Has This Been Tested?
Manually on the command line since the info command is entirely contained in the exe/deprecations script.
I will abide by the code of conduct
@mateusdeap
While I think issue #3 was asking for a way to merge multiple shitlist json files, I think this is a good step in that direction.
Since we have the deprecations from all the json files in one place now, we can certainly create a new merge mode which will create a new json file with results merged from shitlist files.
Let me know if I am understanding this all a bit differently.
@etagwerker @rishijain Sorry for the late response. I'll later try to address all of these comments
@mateusdeap Sounds good, thank you!