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

Make an interactive ranger UX for CLI interactions #12914

Closed
ValarDragon opened this issue Aug 12, 2022 · 3 comments
Closed

Make an interactive ranger UX for CLI interactions #12914

ValarDragon opened this issue Aug 12, 2022 · 3 comments

Comments

@ValarDragon
Copy link
Contributor

Summary

We should make running CLI queries, txs, and generally exploring CLI commands be possible to be done interactively, explorable with arrow keys. IMO the aim should be to have something as clean as ranger UX. Try out using ranger as a CLI file manager.

Basically use the arrow keys to navigate a tree of CLI commands. Then on the right, show the help / explanation of the hovered over command, and a pre-filled out command with ability to use arrow keys or tab auto-complete to edit each arg.

Also check out @pyramation 's related way better CLI: https://github.com/cosmology-tech/cosmology , which does this arrow-key UX for selecting action + good configurations of generating a tx

@julienrbrt
Copy link
Member

Yes!

Somewhat related: #11489 (comment)

@08d2
Copy link
Contributor

08d2 commented Aug 14, 2022

We should make running CLI queries, txs, and generally exploring CLI commands be possible to be done interactively, explorable with arrow keys. IMO the aim should be to have something as clean as ranger UX. Try out using ranger as a CLI file manager.

The "should" here is unsubstantiated, and I don't agree with the suggestion. Interactive TUI-based CLIs are flashy, but strictly worse in terms of accessibility, programmability, and chain-ability with other tools. There's a reason that docker, kubectl, etc. don't work this way this — it's important that the CLI doesn't require an interactive TTY to function properly.

@julienrbrt
Copy link
Member

We'll add a prompt instead, in client/v2: #17222

@julienrbrt julienrbrt closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants