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

contrib: add labgrid-client bash completion #1055

Merged
merged 3 commits into from
Jan 10, 2023

Conversation

Bastian-Krause
Copy link
Member

Description
Add bash completion for labgrid-client including completion for:

  • top level longopts
  • all sub commands including their longopts and arguments
  • files and directories
  • places
  • available resources
  • exporters
  • known hosts and users (allow and release-from)
  • place's matches
  • place's match names (set via add-named-match)

Note: _labgrid_complete() and _labgrid_complete_exporters() call labgrid-client complete. These completions are not as responsive as the rest due to client/coordinator interaction.

Checklist

  • PR has been tested (tested, except the installation in the Debian package)

@codecov
Copy link

codecov bot commented Jan 4, 2023

Codecov Report

Base: 63.3% // Head: 63.3% // Decreases project coverage by -0.0% ⚠️

Coverage data is based on head (216db65) compared to base (082bbc6).
Patch coverage: 11.1% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1055     +/-   ##
========================================
- Coverage    63.3%   63.3%   -0.1%     
========================================
  Files         152     152             
  Lines       11309   11319     +10     
========================================
+ Hits         7169    7170      +1     
- Misses       4140    4149      +9     
Impacted Files Coverage Δ
labgrid/remote/client.py 49.4% <11.1%> (-0.4%) ⬇️
labgrid/config.py 81.8% <0.0%> (-0.6%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Emantor Emantor merged commit 24cca42 into labgrid-project:master Jan 10, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants