From 0c756dda64556b274a8ba4ad9b1ef10f7aca4fcc Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 25 Jan 2024 22:25:46 +0530 Subject: [PATCH] doc: added kcl mod update documentation Signed-off-by: Abhishek Kumar --- .../command-reference/11.update.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/tools/cli/package-management/command-reference/11.update.md diff --git a/docs/tools/cli/package-management/command-reference/11.update.md b/docs/tools/cli/package-management/command-reference/11.update.md new file mode 100644 index 00000000..bac1dee7 --- /dev/null +++ b/docs/tools/cli/package-management/command-reference/11.update.md @@ -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 +```