sg
Verified for current stable LTS
Sg Commands
Sg command syntax with verified terminal examples.
Commands
4 commands for Sg
sg HTTP
Sg Command: Output Json Extract Info
sg run --pattern '<Some($A)>' --rewrite '<None>' --json | jq '<.[].replacement>' | jless sg Search
Sg Command: Rewrite Code Current Directory
sg run --pattern '<foo>' --rewrite '<bar>' --lang <python> sg Operations
Sg Command: Scan Queries Interactive
sg scan --interactive sg Search
Sg Command: Visualize Code Changes
sg run --pattern '<useState<number>($A)>' --rewrite '<useState($A)>' --lang <typescript> Suggest a Sg Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Sg workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.