Skip to content

command-line option "template" requires a value. #303

@lorenzoromagnoli

Description

@lorenzoromagnoli

Most time, when running the command to generate the doc with a custom template it fails throwing this error.

If I change the template file and run the command again it works but every time I rerun the script with the same template file I get the same error:

command-line option "template" requires a value.

this is my script
"scripts": { "docs": "jsdoc2md \"./library/*.js\" > \"./docs/api.md\" -t \"./docs/api-template.hbs\"" },

and a very simple template

---
layout: default
title: api
nav_order: 5
---
# MLTK API
* * *
{{>main}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugjsdoc2mdConcerns the jsdoc2md CLI app

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions