Skip to main content
Version: 0.9

kcl mod pkg

Package a kcl package into *.tar.

Usage

kcl mod pkg [options]

Description

kcl mod pkg will package a kcl package into *.tar.

Option --target is required to specify the tar file path of the package.

options

--target

Specify the tar file path of the package.

--help, -h

Show help for kcl mod pkm command.

Examples

Package a kcl package

kcl mod pkg --target /Users/my_package_tar

Reference

This command converts a kcl module into tar

Usage:
kcl mod pkg [flags]

Examples:
# Package the current module
kcl mod pkg

# Package the current module in the vendor mode
kcl mod pkg --vendor

# Package the current module into the target directory
kcl mod pkg --target /path/to/target_dir

Flags:
-h, --help help for pkg
--target string packaged target path
--vendor package in vendor mode (default: false)

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