Skip to main content
Version: 0.9

kcl mod metadata

Print the metadata of a kcl package.

Usage

kcl mod metadata [options]

Description

kcl mod metadata will print the metadata of a kcl package. The metadata includes the dependency information of the package.

--update option is used to automatically download the missing dependency packages.

options

--update

Automatically download the missing dependency packages.

--help, -h

Show help for kcl mod metadata command.

Examples

Print the metadata of a kcl package.

kcl mod metadata

Print the metadata of a kcl package and automatically download the missing dependency packages.

kcl mod metadata --update

Reference

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)