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

serverless:promote has conflicting command line options #40

Open
NReilingh opened this issue Aug 10, 2020 · 1 comment
Open

serverless:promote has conflicting command line options #40

NReilingh opened this issue Aug 10, 2020 · 1 comment

Comments

@NReilingh
Copy link

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".

@welcome
Copy link

welcome bot commented Aug 10, 2020

Thank you so much for opening your first issue for this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)

picture of dog

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant