github.com/KusionStack/kpm@v0.8.4-0.20240326033734-dc72298a30e5/docs/command-reference/3.pkg.md (about)

     1  # kpm pkg
     2  
     3  Package a kcl package into `*.tar`.
     4  
     5  ## Usage
     6  
     7  ```shell
     8  kpm pkg [options]
     9  ```
    10  
    11  ## Description
    12  
    13  `kpm pkg` will package a kcl package into `*.tar`.
    14  
    15  Option `--target` is required to specify the tar file path of the package.
    16  
    17  ## options
    18  
    19  ### --target
    20  
    21  Specify the tar file path of the package.
    22  
    23  ### --help, -h
    24  
    25  Show help for `kpm pkm` command.
    26  
    27  ## Examples
    28  
    29  ### Package a kcl package
    30  
    31  ```shell
    32  kpm pkg --target /Users/my_package_tar
    33  ```