How to use the twilio-run/dist/commands/list-templates.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 / list-templates.js View on Github external
class FunctionsListTemplates extends Command {
  async run() {
    let { flags, args } = this.parse(FunctionsListTemplates);
    flags = normalizeFlags(flags);

    const opts = Object.assign({}, flags, args);
    return handler(opts, undefined);
  }
}

FunctionsListTemplates.description = describe;

FunctionsListTemplates.args = [];

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

module.exports = FunctionsListTemplates;