github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/site/book/03-packages/04-rendering-a-package.md (about)

     1  Regardless of how you have edited the package, you want to _render_ the package:
     2  
     3  ```shell
     4  $ kpt fn render wordpress
     5  ```
     6  
     7  ?> Refer to the [render command reference][render-doc] for usage.
     8  
     9  `render` is a critical step in the package lifecycle. At a high level, it
    10  perform the following steps:
    11  
    12  1. Enforces package preconditions. For example, it validates the `Kptfile`.
    13  2. Executes functions declared in the package hierarchy in a depth-first order.
    14     By default, the packages are modified in-place.
    15  3. Guarantees package postconditions. For example, it enforces a consistent
    16     formatting of resources, even though a function (developed by different
    17     people using different toolchains) may have modified the formatting in some
    18     way.
    19  
    20  [Chapter 4] discusses different ways of running functions in detail.
    21  
    22  [render-doc]: /reference/cli/fn/render/
    23  [chapter 4]: /book/04-using-functions/