Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Add support for -l flag within twilio serverless:init #36

Closed
@adamchasetaylor

Description

@adamchasetaylor

The error below seems to be caused by something else in Twilio CLI, but it is confusing that the error points towards using "-l" to troubleshoot when "-l" is not implemented for init.

PS /Users/adtaylor/work/twilio-serverless/test_assets/MP3TEST>twilio serverless:init example-client-app --template="voice-client-javascript"
» twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: https://github.com/twilio/twilio-cli/issues
» Error: EEXIT: 1
» Code: EEXIT

PS /Users/adtaylor/work/twilio-serverless/test_assets/MP3TEST>twilio serverless:init example-client-app --template="voice-client-javascript" -l debug
» Error: Unexpected arguments: -l, debug
» See more help with --help

PS /Users/adtaylor/work/twilio-serverless/test_assets/MP3TEST> twilio serverless:init --help

Creates a new Twilio Function project

USAGE

$ twilio serverless:init NAME

ARGUMENTS

NAME Name of Serverless project and directory that will be created

OPTIONS

-a, --account-sid=account-sid The Account SID for your Twilio account
-p, --profile=profile Shorthand identifier for your profile.
-t, --auth-token=auth-token Your Twilio account Auth Token
--empty Initialize your new project with empty functions and assets directories
--import-credentials Import credentials from the environment variables TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN
--skip-credentials Don't ask for Twilio account credentials or import them from the environment
--template=template Initialize your new project with a template from github.com/twilio-labs/function-templates
--typescript Initialize your Serverless project with TypeScript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions