Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amplify mock function should list function names to select from if no function name provided #4727

Closed
hisham opened this issue Jul 1, 2020 · 2 comments
Labels
feature-request Request a new feature functions Issues tied to the functions category mock Issues tied to the mock functionality pending-release Code has been merged but pending release

Comments

@hisham
Copy link
Contributor

hisham commented Jul 1, 2020

Is your feature request related to a problem? Please describe.

Amplify CLI sometimes does not let us choose function names (e.g. in the case of congito triggers) so remembering their name by memory is hard. If I enter 'amplify mock function', I should be presented with a list of functions to pick from. Instead I get this error:

Specify the function name to invoke with "amplify mock function <function name>"

Describe alternatives you've considered
Run amplify status and copy and paste the function name before running amplify mock function command.

@yuth yuth added enhancement functions Issues tied to the functions category mock Issues tied to the mock functionality labels Jul 1, 2020
@edwardfoyle edwardfoyle added the pending-release Code has been merged but pending release label Feb 12, 2021
@edwardfoyle
Copy link
Contributor

This has been released in the latest version of the CLI. Please upgrade to the latest version to try it out.

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
@josefaidt josefaidt added feature-request Request a new feature and removed enhancement labels Sep 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request a new feature functions Issues tied to the functions category mock Issues tied to the mock functionality pending-release Code has been merged but pending release
Projects
None yet
Development

No branches or pull requests

4 participants