question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"go back" action when using the CLI

See original GitHub issue

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

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)

pressing Escape will go to the previous question. image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:15
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
attilahcommented, Jan 12, 2021

@anisg thanks for the idea, we are aware, unfortunately, the question walkthroughs today are linear and not implemented as a wizard/form, so going back is not viable. We will considering this possibility as well when we redesign/change the DX of the CLI.

2reactions
ivanpetrushevcommented, Mar 2, 2022

This is very frustrating for updating resources in the Auth category. The CLI wizard is abysmal, can you just document the options it generates in cli-inputs.json so we can directly edit the config file?

Read more comments on GitHub >

github_iconTop Results From Across the Web

CLI basics
Use the left and right arrow keys to move the cursor back and forth in a recalled command. You can also use Backspace...
Read more >
angular - How to go back last page - Stack Overflow
navigate(LASTPAGE); For example, page C has a Go Back button, Page A -> Page C, click it, back to page A. Page B...
Read more >
5 ways to navigate the Linux terminal faster | Enable Sysadmin
Instead of Left arrow, left, left, left, use CTRL+A to go to the start of the line or Alt+B to move back one...
Read more >
continue-update-rollback — AWS CLI 1.27.37 Command ...
A stack goes into the UPDATE_ROLLBACK_FAILED state when CloudFormation ... To check why a resource update failed, use the DescribeStackResources action, ...
Read more >
Creating Your First CLI Action
You can use this tutorial also for creating an Action executed on Unix. ... To add it to the script, go back to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found