Skip to content

Commit

Permalink
commands: Update CLI docs with the important -u flag in hugo mod get
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Sep 20, 2023
1 parent f916315 commit 275c0ac
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions commands/mod.go
Expand Up @@ -211,7 +211,12 @@ Install a specific version:
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 ./... (recursive)
Expand Down Expand Up @@ -281,7 +286,6 @@ Run "go help get" for more information. All flags available for "go get" is also
npmCommand,
},
}

}

type modCommands struct {
Expand All @@ -303,7 +307,7 @@ func (c *modCommands) Run(ctx context.Context, cd *simplecobra.Commandeer, args
if err != nil {
return err
}
//config := conf.configs.Base
// config := conf.configs.Base

return nil
}
Expand Down

0 comments on commit 275c0ac

Please sign in to comment.