UNPKG

serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

12 lines (9 loc) 301 B
'use strict'; const resolveInput = require('./resolve-input'); module.exports = () => { const { commands, options } = resolveInput(); if (options.help) return true; if (commands[0] === 'help') return true; if (!commands.length && options['help-interactive']) return true; return false; };