Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fschaeffler/serverless-stage-variables-cli

Serverless Plugin for Stage Variables via CLI
https://github.com/fschaeffler/serverless-stage-variables-cli

Last synced: 10 days ago
JSON representation

Serverless Plugin for Stage Variables via CLI

Awesome Lists containing this project

README

        

# serverless-stage-variables-cli

## installation

- install dependency via `npm install serverless-stage-variables-cli --save-dev`

- add `serverless-stage-variables-cli` to the `serverless.yml`

```
...

plugins:
- serverless-stage-variables-cli

...
```

## usage

- list all stage variables: `sls list-stage-vars`

- add stage variable: `sls set-stage-var --key 'TEST_VAR' --value 'TEST_VALUE'`

- remove stage variable: `sls set-stage-var --key 'TEST_VAR'`