churn-v2/crates/churn/wit/world.wit
kjuulh 83294306a4
All checks were successful
continuous-integration/drone/push Build is passing
feat: enable having get variable from local setup
Signed-off-by: kjuulh <contact@kjuulh.io>
2025-01-04 01:28:32 +01:00

21 lines
375 B
Plaintext

package component:churn-tasks@0.1.0;
interface process {
resource process {
constructor();
run-process: func(inputs: list<string>) -> string;
get-variable: func(key: string) -> string;
}
}
interface task {
id: func() -> string;
should-run: func() -> bool;
execute: func();
}
world churn {
export task;
import process;
}