Skip to main content

export

Export a namespace scan as a ZIP archive.

scrubctl export <namespace> -o <dir>

If -o/--output is omitted, scrubctl writes to the current directory.

Output​

The archive contains README.md, optional WARNINGS.md, and manifest files organized under manifests/include/, manifests/cleanup/, and manifests/review/.

Flags​

FlagDescription
-o, --outputOutput directory for the ZIP archive
--secret-handlingSecret handling mode: redact, omit, or include

If --secret-handling include is used, scrubctl warns before including Secret values in the archive.