github.com/KusionStack/kpm@v0.8.4-0.20240326033734-dc72298a30e5/docs/command-reference/4.metadata.md (about) 1 # kpm metadata 2 3 Print the metadata of a kcl package. 4 5 ## Usage 6 7 ```shell 8 kpm metadata [options] 9 ``` 10 11 ## Description 12 13 `kpm metadata` will print the metadata of a kcl package. The metadata includes the dependency information of the package. 14 15 `--update` option is used to automatically download the missing dependency packages. 16 17 ## options 18 19 ### --update 20 21 Automatically download the missing dependency packages. 22 23 ### --help, -h 24 25 Show help for `kpm metadata` command. 26 27 ## Examples 28 29 ### Print the metadata of a kcl package 30 31 Print the metadata of a kcl package. 32 33 ```shell 34 kpm metadata 35 ``` 36 37 Print the metadata of a kcl package and automatically download the missing dependency packages. 38 39 ```shell 40 kpm metadata --update 41 ```