-
-
Notifications
You must be signed in to change notification settings - Fork 392
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
add dynamic completion #1509
add dynamic completion #1509
Conversation
81e9cb9
to
042eb2f
Compare
694560d
to
72463d5
Compare
In the following table there is the full list of completion added:
In the following table there are static flags
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That are some changes to make, but all in all I like it. Good job son. 💯
7340430
to
6404001
Compare
But does only work for connected boards and do not list every protocol installed
…o the pc RPC was not exposing that functionality
maybe could be done better (filter and remove the manually installed ones)
as of now this parameter is useless because if a string is typed in the terminal it cannot be swapped with a different one. For example if I write `arduino-cli compile -b avr<TAB><TAB>` the completion function returns all elements starting with `arduino:avr...`. So the completions are not showed because they cannot be swapped with a string that starts differently. The only shell which seems to support this seems to be zsh
6404001
to
d6d4502
Compare
Please check if the PR fulfills these requirements
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)command line completion enhancement
close #1452 close #649
Command line completion works in a static way for now. Except for #1431
Dynamic command line completion has been added to a lot of commands and flags, this should enhance a lot the experience in using the CLI. Further details in #1452
titled accordingly?
no
See how to contribute