10000 Tab complete the default value for a flag (unless it has choices) · Issue #509 · guildai/guildai · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tab complete the default value for a flag (unless it has choices) #509

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

Open
gar1t opened this issue Jun 9, 2023 · 0 comments
Open

Tab complete the default value for a flag (unless it has choices) #509

gar1t opened this issue Jun 9, 2023 · 0 comments

Comments

@gar1t
Copy link
Contributor
gar1t commented Jun 9, 2023

I'm finding myself wanting to know what the default value is for a flag in order to set a different value. E.g. I might want to set a lower learning rate. To do that now I need to lookup the default value (e.g. using --help-op or via --edit-flags). It'd be nice if Guild filled in the value via completion.

Note that this might not make sense if the flag has choices (the list of choices should be shown rather than a default value).

In the case where there are no choices, the only reasonable value to complete is the default.

This should be done only at the <name>= prompt - the user should type Tab twice to get the default value filled in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0