Skip to content

(init) cdk init: should support shorthand aliases for languages #748

@mrgrain

Description

@mrgrain

Describe the feature

Today:

cdk init app -l typescript
cdk init app -l javascript
cdk init app -l csharp
cdk init app -l fsharp
cdk init app -l python

Use Case

Very annoying to type

Proposed Solution

Future:

cdk init app -l ts
cdk init app -l js
cdk init app -l cs
cdk init app -l fs
cdk init app -l py

Other Information

java and go excluded because already short. I guess I am proposing we also accept the typically file ending as a language alias.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

any

Environment details (OS name and version, etc.)

any

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions