serverless-components / website

:zap: Instantly deploy static website on serverless infrastructure with zero configuration using Serverless Components.
https://serverless.com
Apache License 2.0
155 stars 49 forks source link

CLI Init Directory Name #53

Open chusc123 opened 4 years ago

chusc123 commented 4 years ago

Is there a way to change the directory name the template is dropped into? For example, when I type serverless init react-starter, it will always put it in the react-starter directory. If I want to drop the template into the myAwesomeWebsite directory instead, is there a way to modify the init command to do this or do I just have to rename the directory every time?

Sorry if this is answered somewhere else, I dug through the components documentation and there doesn't seem to be any other commands documented with the init command.

eahefnawy commented 4 years ago

@chusc123 not yet, but I just passed this feedback internally and we've put it on the backlog. Thanks for suggesting 🙌

astuyve commented 4 years ago

@chusc123 implemented here https://github.com/serverless/components/pull/716

Will be in next release!