Skip to main content

handle_rewrite_inline

Function handle_rewrite_inline 

Source
pub fn handle_rewrite_inline()
Expand description

Inline rewrite: takes a command as CLI args, prints the rewritten command to stdout. Used by the OpenCode TS plugin where the command is passed as an argument, not via stdin JSON. Uses native OS paths (not MSYS) because the calling shell may be PowerShell or cmd on Windows.