Command reference
ed shelf review
Review exactly the text you select before sharing. This command runs locally in
the enabled extension. Use either the current clipboard or one UTF-8 text file,
up to 1 MiB. Relative paths for --file and --output resolve against the
directory you run ed from. It does not share anything, change the clipboard, or add history.
ed shelf review --clipboard --jsoned shelf review --file ./selected.txt --jsoned shelf review --file ./selected.txt --output ./redacted.txt --jsonFindings contain a rule, a location, and a location-based ID. No matched values,
snippets, content hashes, or original text appear in command output. Line and
column numbers start at 1; columns and lengths count UTF-16 code units. JSON
contains findings, redactedCount, and exported. Findings include id,
rule, title, line, column, length, and dismissed.
--output explicitly writes the redacted text to a new destination. Inspect
that copy before sharing. Existing files, including the original, are never
replaced. Without --output, review writes no file. Archives, binary files,
directories and symbolic links are refused, rather than reported as clean.
There is no recursive folder, Git history, network, or credential validity scan.
Use a finding ID with --dismiss only after deciding it is a false positive.
Repeat the option for multiple IDs. A dismissal keeps that value in the explicit
copy for this invocation only; it creates no allowlist or saved baseline. IDs
identify locations, so recheck findings after changing the input.
ed shelf review --file ./selected.txt --dismiss high-entropy:0:50 --output ./reviewed.txt --jsonMissing or conflicting input options exit 2. An unsupported input, stale finding ID, scan limit, read failure, or existing output exits 1. Clipboard input without text exits 4. Success exits 0 even when findings exist. Local rules can miss secrets; a zero finding count does not establish that text is safe to share.
In the notch tray, right-click a text file and choose Review Before
Sharing. The review opens in its own window, runs off the main thread, lists
finding locations, highlights redaction markers and lets you keep a false
positive for that review only. Copy redacted text puts the redacted copy on
the clipboard, and Add redacted copy to Shelf parks it next to the original
as <name> redacted.<ext>. Review clipboard text reviews the current
clipboard instead. Closing the window releases the review. It does not promise
secure erasure of process memory or control other clipboard managers. This is
the only place Edith offers share review.