witnet / witnet-requests-js

Witnet Requests Javascript Library
MIT License
5 stars 11 forks source link

Enable `rad2sol` to read input directory recursively #81

Closed aesedepece closed 2 years ago

aesedepece commented 2 years ago

This allows all kind of fancy path patterns in general, thanks to the glob library.

Examples

Everything at any depth: rad2sol.js requests/**/**/

Same as above, but longer: rad2sol.js requests/**/**/*.js

JS files directly in requests but not in subdirectories: rad2sol.js requests/

Same as above, but longer: rad2sol.js requests/*.js

A specific request: rad2sol.js requests/BitcoinPrice.js

Fix #78

aesedepece commented 2 years ago

I still need to fix the tests! :purple_heart: