ConfigCommandIO
A VIEW of CliIo: the same output seam, plus the environment this command
needs injected.
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 |
|---|---|---|
defaults? | Partial<TaskConfig> | The calling tool’s own defaults, sitting between DEFAULT_CONFIG and the user file. waypost passes { allowExec: true } because that is what waypost actually runs with; detect-runners agrees with the library and omits it. Without this, list and get would report the LIBRARY’s default while the tool went on to use its own — and reporting the value in effect is the entire job of those two commands. |
env? | Record<string, string | undefined> | Defaults to process.env. Supplies WAYPOST_CONFIG and XDG_CONFIG_HOME. |
home? | string | Defaults to os.homedir(). The base for the non-XDG user path. |