fix(pkg/techdocs-cli): specify new opt
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -91,6 +91,7 @@ Options:
|
||||
--docker-option <DOCKER_OPTION...> Extra options to pass to the docker run command, e.g. "--add-host=internal.host:192.168.11.12"
|
||||
(can be added multiple times).
|
||||
--no-docker Do not use Docker, use MkDocs executable in current user environment.
|
||||
--mkdocs-configs Extra mkdocs server to pass to mkdocs running in containerized environment.
|
||||
--mkdocs-port <PORT> Port for MkDocs server to use (default: "8000")
|
||||
--preview-app-bundle-path <PATH_TO_BUNDLE> Preview documentation using a web app other than the included one.
|
||||
--preview-app-port <PORT> Port where the preview will be served.
|
||||
|
||||
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user