serverless-plugin-stack-outputs
Advanced tools
Comparing version 1.1.0 to 1.2.1
@@ -17,3 +17,3 @@ { | ||
}, | ||
"version": "1.1.0", | ||
"version": "1.2.1", | ||
"dependencies": { | ||
@@ -20,0 +20,0 @@ "class.extend": "0.9.2", |
@@ -17,5 +17,5 @@ # serverless-plugin-stack-outputs | ||
And it will automagically work. Whenever you call `info` or `deploy`, the outputs will be appended to output | ||
And it will automagically work. Whenever you call `sls info` or `sls deploy`, the outputs will be appended to output. You can also only get the outputs via `sls info outputs`. | ||
# Example | ||
![Example](https://raw.githubusercontent.com/svdgraaf/serverless-plugin-stack-outputs/master/docs/example.gif) |
@@ -27,3 +27,17 @@ 'use strict'; | ||
'after:info:info': this.outputStackOutput.bind(this), | ||
'info:outputs:output': this.outputStackOutput.bind(this), | ||
}; | ||
this.commands = { | ||
info: { | ||
commands:{ | ||
outputs: { | ||
usage: 'Displays stack outputs', | ||
lifecycleEvents: [ | ||
'output', | ||
], | ||
} | ||
}, | ||
}, | ||
}; | ||
}, | ||
@@ -30,0 +44,0 @@ |
114633
57