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

TailTipWidgets feature in interactive shell #855

Open
irinaleo opened this issue Aug 3, 2023 · 1 comment
Open

TailTipWidgets feature in interactive shell #855

irinaleo opened this issue Aug 3, 2023 · 1 comment

Comments

@irinaleo
Copy link

irinaleo commented Aug 3, 2023

Hi,

I have an interactive shell using picocli-shell-jline3 as in this example.

I am using TailTipWidgets and would like to change this behavior...

When I start to type a command, I get command suggestions. After a command is selected, I see its usage. I also see further info for options if I continue with "-" after the command. However, some of my commands have many parameters, and the usage goes away after one character that is not a dash. How can I keep from a suggestion going away? I want to keep the usage displayed until I hit 'enter'.

@irinaleo irinaleo changed the title Integration with picocli TailTipWidgets features in interactive shell Aug 3, 2023
@irinaleo irinaleo changed the title TailTipWidgets features in interactive shell TailTipWidgets feature in interactive shell Aug 7, 2023
@mattirn
Copy link
Collaborator

mattirn commented Dec 15, 2023

TailTipWidgets implementation support only GNU command line options. Option usage should be displayed until you have completed option and its eventual argument, see #914. After you have completed the option initial command usage should be displayed.
@irinaleo, I'm not sure if I have understood correctly your problem. Could you show me an example?

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

2 participants