redactCommand
function redactCommand(command: string): string;Defined in: src/logging/redaction.ts:31
Redacts sensitive FTP command payloads while preserving the command name.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
command | string | Raw command text such as PASS secret or USER deploy. |
Returns
Section titled “Returns”string
Command text with secret arguments replaced by REDACTED.