mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
commands: Update CLI docs with the important -u flag in hugo mod get
This commit is contained in:
parent
f9163155d3
commit
275c0acbf6
1 changed files with 7 additions and 3 deletions
|
@ -211,7 +211,12 @@ Install a specific version:
|
||||||
|
|
||||||
hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
|
hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
|
||||||
|
|
||||||
Install the latest versions of all module dependencies:
|
Install the latest versions of all direct module dependencies:
|
||||||
|
|
||||||
|
hugo mod get
|
||||||
|
hugo mod get ./... (recursive)
|
||||||
|
|
||||||
|
Install the latest versions of all module dependencies (direct and indirect):
|
||||||
|
|
||||||
hugo mod get -u
|
hugo mod get -u
|
||||||
hugo mod get -u ./... (recursive)
|
hugo mod get -u ./... (recursive)
|
||||||
|
@ -281,7 +286,6 @@ Run "go help get" for more information. All flags available for "go get" is also
|
||||||
npmCommand,
|
npmCommand,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type modCommands struct {
|
type modCommands struct {
|
||||||
|
|
Loading…
Reference in a new issue