Convenience function to create a PreToolUse hook that only allows file writes within a specified directory.
Value
A HookMatcher object
Convenience function to create a PreToolUse hook that only allows file writes within a specified directory.
A HookMatcher object