UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

14 lines (11 loc) 272 B
var tab = require('tabtab'); tab.on('complete', function(err, data, done) { // General handler done(null, ['foo', 'bar']); }); // yourbin command completion // // Ex. yourbin list tab.on('list', function(err, data, done) { done(null, ['file.js', 'file2.js']); });