Skip to content

Commit c6acaaa

Browse files
authored
Add --format flag to score-k8s generate CLI reference (#307)
Signed-off-by: Abhishek <abhishekup082@gmail.com>
1 parent a62f3d3 commit c6acaaa

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • content/en/docs/score implementation/score-k8s

content/en/docs/score implementation/score-k8s/cli.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ score-k8s generate [flags]
129129

130130
The `generate` command can be combined with the following flags:
131131

132+
### `--format`
133+
134+
Specifies the output format for the manifests: `yaml` or `kyaml`. By default, the output format is `yaml`.
135+
136+
```bash
137+
score-k8s generate --format kyaml
138+
```
139+
132140
### `--generate-namespace`
133141

134142
Specifies optionally if a `Namespace` resource should be generated in the manifests. Requires `--namespace` to be set.

0 commit comments

Comments
 (0)