Skip to main content
Reference · Information

senkani exec

Live

Run a command with the filter pipeline applied to output. Mutating commands pass through unchanged.

Syntax

senkani exec --

Behavior

The CLI counterpart to `senkani_exec`. Same FilterEngine, same 24+ rules, same SecretDetector. Use in scripts and CI where you want the compression without running an agent.

Example

$ senkani exec -- git status
On branch main · working tree clean

Flags

Flag
Description
-- <cmd>
Required. Everything after `--` is the command.
--no-filter
Bypass the filter (sanity check).
--telemetry
flag
off
Inject OTEL_EXPORTER_OTLP_ENDPOINT into the child env, pointing at the local runtime-telemetry receiver. Writes one stderr line and no-ops when the receiver has not bound a port yet.
Source: Sources/CLI/ExecCommand.swift