Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + var Behavior = behavior.Register(...) + type ExecInput struct + Args []string + Command string + Cwd string + Timeout int + type Provider interface + Exec func(ctx context.Context, in ExecInput) (Result, error) + Shell func(ctx context.Context, in ShellInput) (Result, error) + type Result struct + Changed bool + DurationMs int64 + ExitCode int + Stderr string + Stdout string + func Exec(ctx context.Context, p Provider, in ExecInput) (Result, error) + func Shell(ctx context.Context, p Provider, in ShellInput) (Result, error) + type ShellInput struct + Command string + Cwd string + Timeout int