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.

serverless:promote has conflicting command line options #40

Open
@NReilingh

Description

@NReilingh

twilio serverless:promote --help lists:

  -f, --source-environment=source-environment  SID or suffix of an existing environment you want to deploy from.

  -f, --build-sid=build-sid                    An existing Build SID to deploy to the new environment

I can't quite figure out where this comes from in the project source. I suspect it might be

https://github.com/twilio-labs/twilio-run/blob/b8ed5079c87ab407815e1cb9c32dac43be44a066/src/commands/activate.ts#L96-L106

... and that the aliases are being truncated to one-character -f flags.

A similar issue is that for twilio serverless:deploy --help, --production indicates Please prefer the "activate" command!. But then "activate" is missing from twilio serverless --help, whereas twilio-run's help lists that twilio-functions promote has an alias of "activate".

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