Monthly Archives: May 2026

Explain this command: jq -r ‘.tool_input.file_path’ | xargs npx prettier –write

jq -r ‘.tool_input.file_path’ — reads JSON from stdin, extracts the .tool_input.file_path string value, and outputs it raw (no quotes, -r) xargs npx prettier –write — takes the piped file path as an argument and runs npx prettier –write , which … Continue reading

Posted in Uncategorized | 1 Comment