Skip to content

Commit 6a68b74

Browse files
LinLzisyugasun
authored andcommitted
fix: update command & README
1 parent 72688ff commit 6a68b74

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Serverless Warmer
22

3+
[![npm](https://img.shields.io/npm/v/@slsplus/warmer)](http://www.npmtrends.com/@slsplus/warmer)
4+
[![NPM downloads](https://img.shields.io/npm/dm/@slsplus/warmer.svg?style=flat-square)](http://www.npmtrends.com/@slsplus/warmer)
5+
[![Build Status](https://github.com/serverless-tencent/serverless-warmer/workflows/Release/badge.svg?branch=master)](https://github.com/serverless-tencent/serverless-warmer/actions?query=workflow:Release+branch:master)
6+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
7+
38
Application Warmer for Serverless Framework.
49

510
- [@slsplus/warmer](#Serverless-Warmer)

src/warm.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ export async function warm(options: WarmOptions): Promise<boolean> {
6060

6161
const warmCommand = (): void => {
6262
program
63-
.command('warm')
64-
.description('Warm up serverless application')
63+
.description('Warm up serverless application or function')
6564
.option('-r, --region [region]', 'region of function', 'ap-guangzhou')
6665
.option('-n, --name [name]', 'name config in serverless.yml')
6766
.option('-a, --app [app]', 'app name')

0 commit comments

Comments
 (0)