How to use the twilio-run/dist/commands/start.cliInfo.options function in twilio-run

To help you get started, we’ve selected a few twilio-run examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github twilio-labs / plugin-serverless / src / commands / serverless / start.js View on Github external
return handler(opts, undefined);
  }
}

FunctionsStart.description = describe;

FunctionsStart.args = [
  {
    name: 'dir',
    required: false,
    description: 'Root directory to serve local Functions/Assets from',
  },
];

FunctionsStart.flags = Object.assign(
  convertYargsOptionsToOclifFlags(cliInfo.options)
);

FunctionsStart.aliases = ['serverless:dev', 'serverless:run'];

module.exports = FunctionsStart;