aws-amplify / aws-amplify/amplify-cli

"go back" action when using the CLI

Open
#6,367 5 comments 21 reactions 0 assignees View on GitHub
feature-request p3 platform strategic
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

![image](https://user-images.githubusercontent.com/17178399/104307263-4b1bab00-54cf-11eb-81cf-fc298cde7583.png)

**Describe the solution you'd like**
an idea would be to trigger a "go back" action by clicking on a key, like `Escape`
![Group 2 (1)](https://user-images.githubusercontent.com/17178399/104308571-2e807280-54d1-11eb-8902-ea005544fa8d.png)

pressing `Escape` will go to the previous question.
![image](https://user-images.githubusercontent.com/17178399/104309202-15c48c80-54d2-11eb-8ed6-2bb6e0dccbe3.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.