rulvar API reference / @rulvar/rulvar / matchShellCommand
Function: matchShellCommand()
ts
function matchShellCommand(command, rules): ShellVerdict;Defined in: packages/core/dist/index.d.ts
The strictest-across-segments composition (5.3): deny if ANY segment denies; otherwise ask if ANY segment asks or fails to match an allow pattern; otherwise allow.
Parameters
| Parameter | Type |
|---|---|
command | string |
rules | ShellPatternRules |