Skip to main content

cmd_run_script

Function cmd_run_script 

Source
pub fn cmd_run_script(args: &[String]) -> i32
Expand description

s run SCRIPT [ARGS...] — npm-style task runner. Looks up SCRIPT in the [scripts] table of the project’s stryke.toml and executes it via the system shell so pipes/redirects work. Any extra ARGS are appended.

This is distinct from the existing stryke run main.stk semantic: that path runs a .stk file directly. Script names from [scripts] win when both are possible (the user’s manifest is authoritative).