TrustCommandIO
A VIEW of CliIo: the same output seam, plus the environment this command
needs injected — not a third pattern alongside CliIo and ConfigCommandIO.
Extends
Section titled “Extends”Methods
Section titled “Methods”stderr()
Section titled “stderr()”stderr(
text):void
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
text | string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”stdout()
Section titled “stdout()”stdout(
text):void
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
text | string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
env? | Record<string, string | undefined> | Defaults to process.env. Supplies XDG_STATE_HOME. |
home? | string | Defaults to os.homedir(). The base for the non-XDG state path. |