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

Support a (all) and q (quit) confirmation choices for tt clean #865

Open
RunsFor opened this issue Jun 11, 2024 · 0 comments
Open

Support a (all) and q (quit) confirmation choices for tt clean #865

RunsFor opened this issue Jun 11, 2024 · 0 comments
Labels
2sp feature A new functionality teamE

Comments

@RunsFor
Copy link

RunsFor commented Jun 11, 2024

Here is the workflow:

  • I have a setup with multiple instances, lets say five
  • I want to quickly do some tests (tt start, ..., tt stop) and then want to start fresh, so I need to tt clean
  • after pressing tt clean I realize that I need to either discard clean procedure or remove all at once

For "discard" scenario I can press ^C and this would work, but not very intuitive
For "remove all at once" scenario only choice I've got is to click (y) multiple times

It would be great to support 2 more choices:

  • a (all) - apply "y" to every instance, this one, and all next
  • q (quit) - stop clean procedure right now

As a side effect consider additional helper choices, which approves or discards cleaning for the whole app, let's say I have multiple 3 apps, all are multi-instance clusters

Similar UX has git add -p:

(1/1) Stage this hunk [y,n,q,a,d,e,?]?
@RunsFor RunsFor changed the title tt clean should support a (all) and q (quit) confirmation choices Support tt clean a (all) and q (quit) confirmation choices Jun 11, 2024
@RunsFor RunsFor changed the title Support tt clean a (all) and q (quit) confirmation choices Support a (all) and q (quit) confirmation choices for tt clean Jun 11, 2024
@psergee psergee added feature A new functionality 2sp teamE labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2sp feature A new functionality teamE
Projects
None yet
Development

No branches or pull requests

2 participants