github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/site/book/03-packages/06-creating-a-package.md (about) 1 Creating a new package is simple: create a new directory and [author resources]: 2 3 ```shell 4 $ mkdir awesomeapp 5 # Create resources in awesomeapp/ 6 ``` 7 8 For convenience, you can use `pkg init` command to create a minimal `Kptfile` 9 and `README` files: 10 11 ```shell 12 $ kpt pkg init awesomeapp 13 writing Kptfile 14 writing README.md 15 ``` 16 17 ?> Refer to the [init command reference][init-doc] for usage. 18 19 The `info` section of the `Kptfile` contains some optional package metadata you 20 may want to set. These fields are not consumed by any functionality in kpt: 21 22 ```yaml 23 apiVersion: kpt.dev/v1 24 kind: Kptfile 25 metadata: 26 name: awesomeapp 27 info: 28 description: Awesomeapp solves all the world's problems in half the time. 29 site: awesomeapp.example.com 30 emails: 31 - jack@example.com 32 - jill@example.com 33 license: Apache-2.0 34 keywords: 35 - awesome-tech 36 - world-saver 37 ``` 38 39 [author resources]: /book/03-packages/03-editing-a-package 40 [init-doc]: /reference/cli/pkg/init/