Skip to content

Not all CLI options are passed to jsdoc #57

@donotknow

Description

@donotknow

If I configure a 'match' or 'query' option, the values aren't passed to the jsdoc CLI:

jsdoc: {
    dist: {
        src: ['tasks/**.js', 'tasks/lib/*.js'],
        options: {
            destination: 'doc',
            match: 'tag',
            query: 'param=value'
        }
    },
},

The options in debug mode show:

[D] { private: true, destination: 'doc' }

And the jsdoc that runs is:

[D] Running : node_modules/jsdoc/jsdoc --private --destination doc tasks/jsdoc-plugin.js tasks/lib/exec.js

I believe the match and query (not sure what query does though, but I noticed it was missing as well when match wasn't there), should be passed to the CLI options?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions