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}}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4