This extension replaces the selected text in the active editor with the output of a CLI command. The selected text is piped to the command via stdin and the command's output replaces the original selection.
- Run a configurable CLI command on the selected text.
- Works with multiple selections.
cli-transform.command: Command to run. The default isrev, which reverses the input text. The selected text is sent to the command onstdinand whatever the command prints tostdoutreplaces the selection.
- Select text in the editor.
- Execute the
Transform Selection With CLIcommand from the Command Palette or via keyboard shortcut if you assign one.