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

     1  ---
     2  title: "`init`"
     3  linkTitle: "init"
     4  type: docs
     5  description: >
     6    Initializes a new package in a repository.
     7  ---
     8  
     9  <!--mdtogo:Short
    10      Initializes a new package in a repository.
    11  -->
    12  
    13  `init` initializes a new package in a repository. The inital package revision
    14  will be empty.
    15  
    16  ### Synopsis
    17  
    18  <!--mdtogo:Long-->
    19  
    20  ```
    21  kpt alpha rpkg init PACKAGE_NAME [flags]
    22  ```
    23  
    24  #### Args
    25  
    26  ```
    27  PACKAGE_NAME:
    28    The name of the new package.
    29  ```
    30  
    31  #### Flags
    32  
    33  ```
    34  --repository
    35    Repository in which the new package will be created.
    36  
    37  --revision
    38    Revision of the new package. The default value if v1.
    39  
    40  --description
    41    short description of the package
    42  
    43  --keywords
    44    list of keywords for the package
    45  
    46  --site
    47    link to page with information about the package
    48  ```
    49  
    50  <!--mdtogo-->
    51  
    52  ### Examples
    53  
    54  <!--mdtogo:Examples-->
    55  
    56  ```shell
    57  # create a new package named foo in the repository blueprint.
    58  $ kpt alpha rpkg init foo --namespace=default --repository=blueprint
    59  ```
    60  
    61  <!--mdtogo-->