Skip to content
mercury framework
GitHub

StatusDescriber

StatusDescriber = (cmd, t) => string

Defined in: types/plugin-types/index.ts:292

Turns a command about to run into the one-line status content shown while it runs. A plugin may supply one to createCliStatusDescriber (see @mercury-fw/cli-engine) to override the default; the core only transports the result, the channel decides how to render it. t gives the turn’s texts.

CliCommandInfo

Translate

string