`init`

Initializes a new package in a repository.

init initializes a new package in a repository. The inital package revision will be empty.

Synopsis #

kpt alpha rpkg init PACKAGE_NAME [flags]

Args #

PACKAGE_NAME:
  The name of the new package.

Flags #

--repository
  Repository in which the new package will be created.

--workspace
  Workspace of the new package.

--description
  Short description of the package

--keywords
  List of keywords for the package

--site
  Link to page with information about the package

Examples #

# create a new package named foo in the repository blueprint.
$ kpt alpha rpkg init foo --namespace=default --repository=blueprint --workspace=v1
Last modified June 16, 2025: Move docs to hugo (#4215) (2f0d4026)