You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had activity in the last 6 months. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!
Is your enhancement related to a problem? Please describe
Sometimes we don't want to have a command being enabled
For example if we're not matching all required conditions, commands should not be available.
Describe the solution you'd like
Adds
enablement
as a command contributionenablement is a
when-clause
where we can have access to Podman Desktop current contexts objects (like the currentview
, etc) or some custom contextto register a custom context, extension should call something like
enablement would be then
note:
enablement
on commands should also work on contributed views with awhen
clauseDescribe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: