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

     1  ---
     2  title: "`get`"
     3  linkTitle: "get"
     4  type: docs
     5  description: >
     6    List package revisions in registered repositories.
     7  ---
     8  
     9  <!--mdtogo:Short
    10      List package revisions in registered repositories.
    11  -->
    12  
    13  `get` lists package revisions in the registered repositories.
    14  
    15  ### Synopsis
    16  
    17  <!--mdtogo:Long-->
    18  
    19  ```
    20  kpt alpha rpkg get [PACKAGE_REV_NAME] [flags]
    21  ```
    22  
    23  #### Args
    24  
    25  ```
    26  PACKAGE_REV_NAME:
    27    The name of a package revision. If provided, only that specific
    28    package revision will be shown. Defaults to showing all package
    29    revisions from all repositories.
    30  ```
    31  
    32  #### Flags
    33  
    34  ```
    35  --name
    36    Name of the packages to get. Any package whose name contains 
    37    this value will be included in the results.
    38  
    39  --revision
    40    Revision of the package to get. Any package whose revision
    41    matches this value will be included in the results.
    42  ```
    43  
    44  <!--mdtogo-->
    45  
    46  ### Examples
    47  
    48  <!--mdtogo:Examples-->
    49  
    50  ```shell
    51  # get a specific package revision in the default namespace
    52  $ kpt alpha rpkg get blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a --namespace=default
    53  ```
    54  
    55  ```shell
    56  # get all package revisions in the bar namespace
    57  $ kpt alpha rpkg get --namespace=bar
    58  ```
    59  
    60  ```shell
    61  # get all package revisions with revision v0
    62  $ kpt alpha rpkg get --revision=v0
    63  ```
    64  
    65  <!--mdtogo-->