generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
Description
Describe the feature
Add an option for user to specify the project name (e.g. --name).
Use Case
I'm always frustrated when I have to project name differently from the working directory name.
Currently, options for cdk init command doesn't have specify project name, and project name becomes the same as working directory name.
Therefore, if I want to project name differently from the directory name, should changing it manually.
Proposed Solution
Provide an option to specify project name when initializing project.
Example API may look like:
cdk init app -l <language> [--name|-n] <project-name>
If user doesn't provide any option, it selected name of working directory.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.1034.0
Environment details (OS name and version, etc.)
All