extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Dynamically defined commands

Open FezVrasta opened this issue 2 years ago • 1 comments

Describe the feature and the current behavior/state.

There are cases where it would be useful to allow the users to create new commands dynamically. For example, an extension may want to allow the users to define commands to quickly perform certain actions without opening the main extension command and doing that manually.

In my case I have the Set Output Device extension that has a static Set Audio Output Device to Favourite One command, but I would rather let the users create a command from any of their available output devices rather than limiting to just one.

Will this change the current API? How?

Yes, it should provide a programmatic way to register commands.

Who will benefit from this feature?

Anyone wanting to expose convenient ways to use theirs extensions.

Any Other info.

FezVrasta avatar Feb 18 '22 13:02 FezVrasta