-
Notifications
You must be signed in to change notification settings - Fork 14
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
DM-47143: Allow entry points to be used to discover cli plugins #1107
Conversation
938c68f
to
4a0ea6f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1107 +/- ##
==========================================
- Coverage 89.47% 89.46% -0.02%
==========================================
Files 361 361
Lines 47741 47787 +46
Branches 5794 5799 +5
==========================================
+ Hits 42717 42752 +35
- Misses 3640 3649 +9
- Partials 1384 1386 +2 ☔ View full report in Codecov by Sentry. |
This lets you know which plugins are costing the most start up time (the answer is ingest-photodiode)
Otherwise it is called once to get the commands and then once again for every single subcommand for `butler -h`. Adding a cache shaves a second off `butler -h` runtime.
4a0ea6f
to
80b168e
Compare
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.
Looks great, a couple of questions.
This is in addition to the environment variable. The plugins return the actual commands rather than any links to YAML files.
80b168e
to
5f3629d
Compare
Checklist
doc/changes
configs/old_dimensions