Pull by default, don't pull on --no-pull

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-06-15 16:13:01 +02:00
parent 2bb51571de
commit 14ce0d9347
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@techdocs/cli': patch
---
Fixed a bug that prevented docker images from being pulled by default when generating TechDocs.
+1 -1
View File
@@ -38,7 +38,7 @@ export function registerCommands(program: Command) {
'The mkdocs docker container to use',
defaultDockerImage,
)
.option('--no-pull', 'Do not pull the latest docker image', false)
.option('--no-pull', 'Do not pull the latest docker image')
.option(
'--no-docker',
'Do not use Docker, use MkDocs executable and plugins in current user environment.',