-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support all jsii programming languages #35
Conversation
Adds a required `--language` switch to cdk-import which allows specifying the target programming language to generate code in. This uses jsii-srcmak (similar to CDKtf and CDK8s) to generate files that can be included in projects. Resolves #34 BREAKING CHANGE: cdk-import now requires --language to be specified.
@hoegertn would love your review on this PR. |
Not sure I love the idea of defaulting to TypeScript. As a standalone tool, cdk-import will likely be used in CDK apps, and not in construct libraries and I don't think TypeScript it necessarily a reasonable default. Maybe in the future, we can include the language specification in |
@Chriscbr can you take another look? |
Adds a required
--language
switch to cdk-import which allows specifying the target programming languageto generate code in. This uses jsii-srcmak (similar to CDKtf and CDK8s) to generate files that can be
included in projects.
Resolves #34
BREAKING CHANGE: a
--language
switch is now required and can have one of these values:typescript
,java
,csharp
,python
orgolang
.