mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
add some examples and docs
This commit is contained in:
parent
47082fbc43
commit
d7d1f79fa4
@ -26,8 +26,15 @@ serverless create --template aws-nodejs
|
||||
serverless create --template aws-nodejs --path myService
|
||||
```
|
||||
|
||||
**Create service in new folder using a custom template:**
|
||||
|
||||
```bash
|
||||
serverless create --template-url https://github.com/serverless/serverless/tree/master/lib/plugins/create/templates/aws-nodejs --path myService
|
||||
```
|
||||
|
||||
## Options
|
||||
- `--template` or `-t` The name of one of the available templates. **Required**.
|
||||
- `--template` or `-t` The name of one of the available templates. **Required if --template-url is not present**.
|
||||
- `--template-url` or `-t` The name of one of the available templates. **Required if --template is not present**.
|
||||
- `--path` or `-p` The path where the service should be created.
|
||||
- `--name` or `-n` the name of the service in `serverless.yml`.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user