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

     1  ---
     2  title: "`get`"
     3  linkTitle: "get"
     4  type: docs
     5  description: >
     6    List registered repositories.
     7  ---
     8  
     9  <!--mdtogo:Short
    10      List registered repositories.
    11  -->
    12  
    13  `get` lists registered repositories.
    14  
    15  ### Synopsis
    16  
    17  <!--mdtogo:Long-->
    18  
    19  ```
    20  kpt alpha repo get [REPOSITORY_NAME] [flags]
    21  ```
    22  
    23  #### Args
    24  
    25  ```
    26  REPOSITORY_NAME:
    27    The name of a repository. If provided, only that specific
    28    repository will be shown. Defaults to showing all registered
    29    repositories.
    30  ```
    31  
    32  <!--mdtogo-->
    33  
    34  ### Examples
    35  
    36  <!--mdtogo:Examples-->
    37  
    38  ```shell
    39  # list all repositories registered in the default namespace
    40  $ kpt alpha repo get --namespace default
    41  ```
    42  
    43  ```shell
    44  # show the repository named foo in the bar namespace
    45  $ kpt alpha repo get foo --namespace bar
    46  ```
    47  
    48  <!--mdtogo-->