https://github.com/spinframework/spin-trigger-command
Command Trigger for Spin
https://github.com/spinframework/spin-trigger-command
Last synced: about 1 month ago
JSON representation
Command Trigger for Spin
- Host: GitHub
- URL: https://github.com/spinframework/spin-trigger-command
- Owner: spinframework
- License: apache-2.0
- Created: 2024-03-25T21:45:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-03T23:23:09.000Z (3 months ago)
- Last Synced: 2026-02-04T11:35:53.138Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 304 KB
- Stars: 4
- Watchers: 11
- Forks: 13
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Maintainers: MAINTAINERS.md
Awesome Lists containing this project
README
# Spin `command` Trigger
This is a very simple Spin trigger that executes the WASI main function.
## Installation
The trigger is installed as a Spin plugin. It can be installed from a release or build.
## Install the latest version of the plugin
The latest stable release of the command trigger plugin can be installed like so:
```sh
spin plugins update
spin plugin install trigger-command
```
## Install the canary version of the plugin
The canary release of the command trigger plugin represents the most recent commits on `main` and may not be stable, with some features still in progress.
```sh
spin plugins install --url https://github.com/spinframework/spin-trigger-command/releases/download/canary/trigger-command.json
```
## Install from a local build
Alternatively, use the `spin pluginify` plugin to install from a fresh build. This will use the pluginify manifest (`spin-pluginify.toml`) to package the plugin and proceed to install it:
```sh
spin plugins install pluginify
cargo build --release
spin pluginify --install
```