pub fn run_workspace_script(
runner: Runner,
workspace: &str,
script: &Script,
args: Option<&str>,
project_dir: &Path,
dry_run: bool,
) -> Result<i32>Expand description
Run a workspace script.
§Arguments
runner- The package manager to useworkspace- The workspace name (package name)script- The script to runargs- Optional additional arguments to pass to the scriptproject_dir- The project directory (monorepo root) to run indry_run- If true, print the command without executing
§Returns
Returns the exit code of the script (0 for success, non-zero for failure).