aws-amplify / aws-amplify/amplify-cli

Unsupported command prompts for plugin to execute

Open
#12,065 0 comments 0 reactions 0 assignees View on GitHub
bug hosting p3
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### How did you install the Amplify CLI?

npm

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

_No response_

### Amplify CLI Version

11.0.0-beta.6

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

no

### Describe the bug

running an supported command on hosting shows the following prompt

```
amplify override hosting
```
![image (4)](https://user-images.githubusercontent.com/87995712/220455684-7115b823-d6e7-48fe-bf5d-a936f60a7630.png)
![image (5)](https://user-images.githubusercontent.com/87995712/220455695-d62eb85b-1a25-443d-9403-e4a2b786b404.png)

selecting a different prompt shows the full help list

![image (6)](https://user-images.githubusercontent.com/87995712/220455860-3877f15d-836a-45da-83c4-38cdb3e96930.png)

### Expected behavior

exit with just a warning

### Reproduction steps

1. amplify override hosting
2. see prompt and select one

### Project Identifier

_No response_

### Log output

```
# Put your logs below this line

```

### Additional information

_No response_

### Before submitting, please confirm:

- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior with `amplify override hosting` on the Amplify CLI version and operating system described, then trace the hosting override command's prompt handling. Done means unsupported commands exit with only a warning instead of showing a prompt or the full help list.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.