How to run jsdoc on an entire directory in ubuntu

I just need to run jsdoc in the whole directory containing the .js files, I do this on separate files in the ubuntu terminal by issuing the jsdoc abc.js command, but I need to apply this command to all the files in the directory at once, so that all the files in that The directory containing js files will be generated with a single command. Thanks for any help you would give.

+5
source share
1 answer

You can go recursively by passing the -r option:

$ jsdoc -r . 
+8
source

Source: https://habr.com/ru/post/1259077/


All Articles