Custom Commands and Shortcuts
Problem
Currently, many users have to open a terminal to run common commands. While Builder makes that convenient, some users would rather run the commands from a shortcut.
Some commands may need to be run from Builder's mount namespace, other commands may need to run from the applications build environment. The command may require changing the environment variables.
A command editor will need to be provided. It can probably be added to the preferences dialog, since commands may need to be shared between projects.
Goals
- Allow users to run a command from a keyboard shortcut
- Allow running the command in either the native or build container
- Allow viewing the output of the command from the utilities panel
- Allow running the command from the command bar
Anti-Goals
Affected Modules
- A new plugin, commandui should be added which provides the preferences hooks and command provider for command-bar integration.
Interfaces
No new interfaces should be required.
Risks
Low risk, fairly compartmentalized.