-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: added kcl mod update documentation
Signed-off-by: Abhishek Kumar <[email protected]>
- Loading branch information
1 parent
2e0af87
commit 0c756dd
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
docs/tools/cli/package-management/command-reference/11.update.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# kcl mod update | ||
|
||
Update kcl module dependencies. | ||
|
||
## Usage | ||
|
||
```shell | ||
kcl mod update [options][module_name] | ||
``` | ||
|
||
## Description | ||
|
||
`kcl mod update` will update the dependencies listed in kcl.mod.lock based on kcl.mod. | ||
|
||
You can also update a package by specifying the path of that package. | ||
|
||
|
||
## Options | ||
|
||
### --help, -h | ||
|
||
Show help for `kcl mod update` command. | ||
|
||
## Examples | ||
|
||
### Update the current module | ||
|
||
```shell | ||
kcl mod update | ||
``` | ||
|
||
### Update the module with the specified path | ||
|
||
```shell | ||
kcl mod update path/to/package | ||
``` |