aws-amplify / aws-amplify/amplify-cli
"go back" action when using the CLI
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
**Is your feature request related to a problem? Please describe.**
When I use the amplify CLI (eg: `amplify update api`), I need to select an option among different choices, I sometimes choose the wrong option and I then need to exit amplify and rerun it, it could be nice if I could go back to the previous question

**Describe the solution you'd like**
an idea would be to trigger a "go back" action by clicking on a key, like `Escape`

pressing `Escape` will go to the previous question.

Contributor guide
Research direction
Start by tracing the amplify update api entry point and the CLI's interactive question flow to find how previous choices are handled. Determine whether Escape can return to the preceding question across the relevant prompts, then verify that users can correct a selection without restarting the command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100