-
Notifications
You must be signed in to change notification settings - Fork 18
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 bash completion #1
Comments
To start investigating this, I looked briefly at That command is sourced as part of the general ros2 setup script, I believe because of the following configuration file: If only we could just use I think a first step would be to implement autocomplete for just the names of commands available in An additional reference is the gz completion script used in gazebo classic. |
Our executables are currently using a fork of cli11 for argument parsing, which has an open feature request to support autocompletion: CLIUtils/CLI11#343. |
There is a way to use |
I've started in #77 by porting a portion of the |
Actually the Ruby class also supports shell completion. |
One reason at the moment is that we don't have the time to port it to another language, which would be a large effort, so we'd need a strong reason to do so.
|
Followup tasks to #87, which adds bash completion to second-level flags, i.e.
|
As of gazebosim/gz-transport#451, I believe all commands have bash completion now, so I'll go ahead and close this issue. |
Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
Pressing tab twice should complete with possible commands. Take the
gz
tool for example, pressing tab twice displays options such ascamera
,topic
, etc.The text was updated successfully, but these errors were encountered: