UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

12 lines (9 loc) 298 B
#!/usr/bin/env node import {RatchetCliHandler} from "./cli/ratchet-cli-handler"; const handler:RatchetCliHandler = new RatchetCliHandler(); handler.findAndExecuteHandler().then(out=>{ console.log('Normal exit: ',out); }).catch(err=>{ console.error('Error : %s', err); process.exit(-1); });