fermyon / spin

Spin is the open source developer tool for building and running serverless applications powered by WebAssembly.
https://developer.fermyon.com/spin
Apache License 2.0
5.53k stars 257 forks source link

Add "spin plugin run" to install and run plugin ("npx/dpx for spin plugins") #1517

Open cardoso opened 1 year ago

cardoso commented 1 year ago

This need came up in https://github.com/itowlson/spin-pluginify/pull/6 and npx/dpx can be used as a reference:

https://www.npmjs.com/package/npx https://deno.land/x/dpx

This can also be be a separate plugin, but at least basic sandboxing / temporary plugin installation and running should be supported by spin for it to be reliable.

kate-goldenring commented 1 year ago

+1. Seems like a nice to have, especially for plugins like spin-pluginify that are executed once.