Extensibility
mage-remote-run can be extended in two complementary ways:
- Plugins add JavaScript-based behavior such as custom commands, event listeners, and API integrations.
- Configuration-based extensions let you inject reusable command definitions and plugin settings without changing the CLI itself.
Use this section to choose the right approach:
- Plugin management covers registering, listing, and removing plugins.
- Plugin development explains how to create a plugin and use the runtime context.
- Plugin configuration shows how plugins can inject or persist configuration.
- Virtual commands documents configuration-driven REST commands.
In practice, many extensions combine both approaches: a plugin can ship JavaScript behavior and also expose static configuration or virtual commands.