Skip to main content

build_check_command

Function build_check_command 

Source
pub fn build_check_command(arguments: &Value) -> Result<String, String>
Expand description

Build the command line for rtk hook check.

The dry-run inspection subcommand in rtk is hook check (not check). The command argument is safely single-quoted via shell_quote to prevent arbitrary command injection when executed via a shell.