Global Commands
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
The Resource Command API is really awesome, but it's not always suitable if you want to create a command spanning the entire application.
I've wanted to implement commands similar to the following, but there is no good place to plug them in:
- Restart All - stop all containers, and then re-trigger their start up, following WaitFor ordering
- Reset (stop all containers, delete data volumes) #8553
- Stop persistent containers (#9363)
### Describe the solution you'd like
Some kind of global command plugin point. It should look similar to Resource Commands (both in UI and API), but instead of showing up in a menu item by resources, it would show up in a globally viewable menu.
(very) crude mock up of what this could look like:
Icing on the cake would be if these commands were invokable from the cli.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.