Skip to content

Commit

Permalink
doc: added kcl mod update documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Kumar <[email protected]>
  • Loading branch information
octonawish-akcodes committed Jan 25, 2024
1 parent 2e0af87 commit 0c756dd
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docs/tools/cli/package-management/command-reference/11.update.md
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
```

0 comments on commit 0c756dd

Please sign in to comment.