@slsplus/warmer

    0.1.1 • Public • Published

    Serverless Warmer

    npm NPM downloads Build Status semantic-release

    Application Warmer for Serverless Framework.

    Installation

    $ npm i @slsplus/warmer -g

    Usage

    Usage: ywarm [options]
    
    Warm up serverless application with customize variables
    
    Options:
      -v, --version                       output the current version
      -n, --name [name]                   instance name, name config in serverless.yml
      -a, --app [app]                     app name, app config in serverless.yml
      -r, --region [region]               region of function (default: 'ap-guangzhou')
      -s, --stage [stage]                 app stage, stage config in serverless.yml (default: 'dev')
      -o, --org [org]                     app org name, org config in serverless.yml
      -f, --function-name [functionName]  cloud function name
      -h, --help                          display help for command
    
    Example call:
      $ ywarm --help

    Warm up serverless application

    $ ywarm --name=expressdemo --app=appname --stage=dev --org=myorg

    Warm up serverless cloud function

    $ ywarm -f 'express_jyovx1a'

    License

    MIT License

    Copyright (c) 2021 Tencent Cloud, Inc.

    Install

    npm i @slsplus/warmer

    DownloadsWeekly Downloads

    6

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    25.5 kB

    Total Files

    31

    Last publish

    Collaborators

    • yugasun
    • slsplus-bot