fermyon / spin-trigger-command

WIP Command Trigger for Spin
Apache License 2.0
4 stars 13 forks source link

Add a template for this trigger #20

Closed ThorstenHans closed 1 month ago

ThorstenHans commented 3 months ago

It would be super useful to have a template for this trigger, to streamline DX

calebschoepp commented 3 months ago

@me-diru this could also be an interesting thing for you to work on in the coming weeks.

me-diru commented 3 months ago

Thanks for sharing! I will explore how to add templates. I am not sure what "this trigger" is in this context.

calebschoepp commented 3 months ago

"this trigger" is implying the spin-trigger-command. spin-trigger-command is a custom trigger for Spin that runs some code right on startup. We're looking for a template that we'll scaffold out a project around this trigger similar to this.

ThorstenHans commented 3 months ago

26 will add the command-rust template. IMO, it would be nice to have templates for other popular languages as well 😄

radu-matei commented 1 month ago

Added a Rust template in #26. @karthik2804 suggested he would like to add a JavaScript template as well.