Function run_shellcheck
Source pub fn run_shellcheck(script: &str, shell: &str) -> Vec<ShellCheckComment>
Expand description
Run shellcheck on a script and return warnings.
§Arguments
script - The shell script to analyze
shell - The shell to use (e.g., “bash”, “sh”)
§Returns
A vector of ShellCheck comments/warnings, or an empty vector if shellcheck
is not available or fails.