sg
Verified for current stable LTS
Sg Command: Scan Queries Interactive
Use for scan queries interactive with Sg. Exact CLI syntax to scan queries interactive using Sg.
When to use this: Use for scan queries interactive with Sg.
Command Syntax
sg scan --interactive sg scan --interactive Command Breakdown
--interactive- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to scan queries interactive using Sg.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Sg Command: Output Json Extract Info
sg run --pattern '<Some($A)>' --rewrite '<None>' --json | jq '<.[].replacement>' | jless Sg Command: Rewrite Code Current Directory sg run --pattern '<foo>' --rewrite '<bar>' --lang <python> Sg Command: Visualize Code Changes sg run --pattern '<useState<number>($A)>' --rewrite '<useState($A)>' --lang <typescript> Bun Update Command: Update Dependencies Interactively bun update -i Bun Update Command: Update Dependencies Interactively Recursively bun update -i -r