fix(pkg/techdocs-cli): specify new opt

Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
hainenber
2023-11-19 16:40:45 +07:00
parent b2dccad7b3
commit 549ca5e3c4
2 changed files with 5 additions and 0 deletions
@@ -289,6 +289,10 @@ export function registerCommands(program: Command) {
'-c, --mkdocs-config-file-name <FILENAME>',
'Mkdocs config file name',
)
.option(
'--mkdocs-configs',
'Additional parameters to pass to containerized mkdocs',
)
.hook('preAction', command => {
if (
command.opts().previewAppPort !== defaultPreviewAppPort &&