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

Complete "unknown" arguments using the UnknownArgumentValueParser suggestion #5660

Open
epage opened this issue Aug 11, 2024 · 1 comment
Open
Labels
A-completion Area: completion generator C-enhancement Category: Raise on the bar on expectations E-medium Call for participation: Experience needed to fix: Medium / intermediate

Comments

@epage
Copy link
Member

epage commented Aug 11, 2024

We can check if a flag uses UnknownArgumentValueParser as its value parser and include the "suggested" argument as another candidate.

@epage epage added C-enhancement Category: Raise on the bar on expectations E-medium Call for participation: Experience needed to fix: Medium / intermediate A-completion Area: completion generator labels Aug 11, 2024
@epage
Copy link
Member Author

epage commented Sep 20, 2024

The main question for this is how to access the TypedValueParser so it can be casted to the right type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-completion Area: completion generator C-enhancement Category: Raise on the bar on expectations E-medium Call for participation: Experience needed to fix: Medium / intermediate
Projects
None yet
Development

No branches or pull requests

1 participant