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

Help prompt should not allow you to select a resource when removing a category #12118

Closed
2 tasks done
aws-eddy opened this issue Feb 27, 2023 · 3 comments
Closed
2 tasks done
Assignees
Labels
bug Something isn't working hosting Issues tied to hosting category platform Issues tied to the general CLI platform

Comments

@aws-eddy
Copy link
Contributor

How did you install the Amplify CLI?

npm install -g @aws-amplify/cli

If applicable, what version of Node.js are you using?

16.18.0

Amplify CLI Version

10.7.3

What operating system are you using?

Mac

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

Added hosting to my project and then tried to delete the hosting category with command amplify delete hosting. I had the option of selecting a plugin module to execute.
Screenshot 2023-02-27 at 11 32 45 AM

Describe the bug

Allowing me to select a module to execute when inputting the wrong command.

Expected behavior

Just go straight from the Warning to the help usage commands without allowing me to select anything from hosting. Customer might get confused thinking that delete

Reproduction steps

  1. npm install -g @aws-amplify/cli
  2. amplify init
  3. amplify add hosting
  4. amplify delete hosting

Project Identifier

2d42ef56-95b2-4e97-85af-8bd1019b1252

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@aws-eddy aws-eddy added the pending-triage Issue is pending triage label Feb 27, 2023
@josefaidt
Copy link
Contributor

This is related to #12065, where amplify override hosting has a similar result

@josefaidt josefaidt added bug Something isn't working hosting Issues tied to hosting category platform Issues tied to the general CLI platform and removed pending-triage Issue is pending triage labels Feb 27, 2023
@aws-eddy
Copy link
Contributor Author

Closed with merged PR

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hosting Issues tied to hosting category platform Issues tied to the general CLI platform
Projects
None yet
Development

No branches or pull requests

3 participants