write-script-rust
SKILL.md
CLI Commands
Place scripts in a folder. After writing, tell the user they can run:
wmill generate-metadata- Generate .script.yaml and .lock fileswmill sync push- Deploy to Windmill
Do NOT run these commands yourself. Instead, inform the user that they should run them.
Use wmill resource-type list --schema to discover available resource types.
Rust
Structure
The script must contain a function called main with proper return type:
use anyhow::anyhow;
use serde::Serialize;