jsdoc3 - How to use jsdoc options in jsdoc-grunt task -


i want add -p flag in order generate documentation private methods using grunt-jsdoc. how can that?

according documentation @ grunt-jsdoc state can use of options specified in usejsdoccli, not know how should specified in grunt task. here current grunt task:

jsdoc : {             dist : {                 src: ['app/scripts/directives/*.js','readme.md'],                 options: {                     destination: 'doc'                 }             }         } 

how can specify want task run -p flag (or other flags)?

there's example in documentation under template section https://github.com/krampstudio/grunt-jsdoc#templates

just use flag name without dash, example:

dist : {     src: ['app/scripts/directives/*.js','readme.md'],         options: {           destination: 'doc',           private: true         }     } } 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -