github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/site/reference/cli/alpha/rpkg/pull/README.md (about)

     1  ---
     2  title: "`pull`"
     3  linkTitle: "pull"
     4  type: docs
     5  description: >
     6    Pull the content of the package revision.
     7  ---
     8  
     9  <!--mdtogo:Short
    10      Pull the content of the package revision.
    11  -->
    12  
    13  `pull` fetches the content of the package revision from the
    14  repository.
    15  
    16  ### Synopsis
    17  
    18  <!--mdtogo:Long-->
    19  
    20  ```
    21  kpt alpha rpkg pull PACKAGE_REV_NAME [DIR] [flags]
    22  ```
    23  
    24  #### Args
    25  
    26  ```
    27  PACKAGE_REV_NAME:
    28    The name of a an existing package revision in a repository.
    29  
    30  DIR:
    31    A local directory where the package manifests will be written.
    32    If not provided, the manifests are written to stdout.
    33  ```
    34  
    35  <!--mdtogo-->
    36  
    37  ### Examples
    38  
    39  <!--mdtogo:Examples-->
    40  
    41  ```shell
    42  # pull the content of package revision blueprint-d5b944d27035efba53836562726fb96e51758d97
    43  $ kpt alpha rpkg pull blueprint-d5b944d27035efba53836562726fb96e51758d97 --namespace=default
    44  ```
    45  
    46  <!--mdtogo-->