Skip to content

Commit 8f27308

Browse files
committed
feat: add import directory examples
Signed-off-by: Clay Rosenthal <clayros@amazon.com>
1 parent d041ca3 commit 8f27308

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/cli/import.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ language: typescript
2626
The `--output` (or `-o`) option can be used to specify the output directory for
2727
your imports.
2828

29+
CLI:
30+
31+
```shell
32+
cdk8s import --output ./path/to/imports
33+
```
34+
35+
`cdk8s.yaml`:
36+
37+
```yaml
38+
importDirectory: ./path/to/imports
39+
```
40+
2941
### Class name prefix (`--class-prefix`)
3042

3143
For `k8s` imports, all imported classes will have a `Kube` prefix to denote that

0 commit comments

Comments
 (0)