webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

CLI doesn't suggest the correct API name

Open Andrei199991 opened this issue 6 years ago • 3 comments

If you want to deploy one of the api's lambda functions such as cmsGraphQL using `webiny deploy api cmsgraphql --env=dev", it won't work. The CLI doesn't really tell you anything either and it's rather cryptic.

This is because the deployed lambda function's name is case sensitive and you should use webiny deploy api cmsGraphQL --env=dev instead.

Our CLI should suggest the correct form. We could use Levenshtein distance for this and suggest the closest match (up to a max distance of 2 for example).

This is:

  • Feature request

Andrei199991 avatar May 29 '20 09:05 Andrei199991

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Slack Community or ping one of the reviewers. Thank you for your contributions!

adrians5j avatar Oct 12 '20 01:10 adrians5j

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

webiny-bot avatar Dec 11 '20 07:12 webiny-bot

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

webiny-bot avatar Feb 10 '21 07:02 webiny-bot