Skip to content

Commit

Permalink
Update kpt live init documentation. (#1397)
Browse files Browse the repository at this point in the history
  • Loading branch information
runewake2 committed Feb 1, 2021
1 parent 8695bbb commit 8af1eae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
20 changes: 5 additions & 15 deletions internal/docs/generated/livedocs/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions site/content/en/reference/live/init/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ description: >

{{< asciinema key="live-init" rows="10" preload="1" >}}

<!--mdtogo:Long-->
The init command initializes a package with a template resource which will
be used to track previously applied resources so that they can be pruned
when they are deleted.

The template resource is required by other live commands
such as apply, preview and destroy.
<!--mdtogo-->

### Examples
<!--mdtogo:Examples-->
Expand All @@ -32,7 +34,7 @@ kpt live init --namespace=test my-dir/
<!--mdtogo-->

### Synopsis
<!--mdtogo:Long-->

```
kpt live init DIRECTORY [flags]
```
Expand All @@ -55,4 +57,3 @@ DIR:
in the package belong in the same namespace. If they are, that namespace will be used. If
they are not, the namespace in the user's context will be chosen.
```
<!--mdtogo-->

0 comments on commit 8af1eae

Please sign in to comment.