Pull by default, don't pull on --no-pull
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@techdocs/cli': patch
|
||||
---
|
||||
|
||||
Fixed a bug that prevented docker images from being pulled by default when generating TechDocs.
|
||||
@@ -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.',
|
||||
|
||||
Reference in New Issue
Block a user