Skip to main content
版本: 0.9

kcl mod metadata

打印 kcl 包的元数据。

使用

kcl mod metadata [options]

介绍

kcl mod metadata 会打印 kcl 包的元数据。元数据包括包的依赖信息。

--update 选项用于自动下载缺失的依赖包。

选项

--update

自动下载缺失的依赖包。

--help, -h

展示 kcl mod metadata 命令的帮助信息。

示例

打印 kcl 包的元数据

打印 kcl 包的元数据。

kcl mod metadata

打印 kcl 包的元数据,并自动下载缺失的依赖包。

kcl mod metadata --update

命令参数

This command outputs the resolved dependencies of a package

Usage:
kcl mod metadata [flags]

Examples:
# Output the resolved dependencies the current module
kcl mod metadata

# Output the resolved dependencies the current module in the vendor mode
kcl mod metadata --vendor

# Output the resolved dependencies the current module with the update check
kcl mod metadata --update

Flags:
-h, --help help for metadata
--update check the local package and update and download the local package. (default: false)
--vendor run in vendor mode (default: false)

Global Flags:
-q, --quiet Set the quiet mode (no output)