CLI reference

Use UndetectableText from the command line.

Install the private CLI through Stado, retain drafts locally, and send only an explicitly selected draft for rewriting.

Install

Install the CLI through Stado.

The package is private and is not a registry install. Stado builds it from its catalogued source and links the executable onto your PATH; it needs Node.js 20.9.0 or newer:

stado product install undetectabletext --surface cli

This exposes undetectabletext from bin/undetectabletext.mjs.

Commands

Complete command reference

Local state

Drafts stay in the CLI store.

The default store is ~/.local/share/undetectabletext/drafts.json. Set UNDETECTABLETEXT_DRAFTS to use another path. Import and inspection commands are offline; only rewrite sends retained text to an endpoint.

Output and exit status

One JSON document per command, or the same lines for a person.

Every command prints its result as JSON on standard output. --text, anywhere on the line, prints the same document as path: value lines instead. A wrong invocation prints the usage and exits 2; any other failure prints Error: … on standard error and exits 1, except that a rejected draft import prints its rejected report as JSON and exits 1.