Create remove.md

This commit is contained in:
tinafangkunding 2019-11-01 16:58:24 +08:00 committed by GitHub
parent 02b6e84120
commit af8e89fbf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,23 @@
# Tencent-scf - Remove
The `sls remove` command will remove the deployed service, defined in your current working directory, from the provider.
```bash
serverless remove
```
## Options
- `--stage` or `-s` The name of the stage in service, `dev` by default.
- `--region` or `-r` The name of the region in stage, `ap-guangzhou` by default.
## Examples
### Removal of service in specific stage and region
```bash
serverless remove --stage dev --region ap-guangzhou
```
This example will remove the deployed service of your current working directory with the stage `dev` and the region `ap-guangzhou`.