Skip to content

@saflib/node


src/cli-context ​

Interfaces ​

InterfaceDescription
CliContext-
CliReporters-
SetupContextOptionsCLI runtime context options.

Functions ​

FunctionDescription
getCliContextRead the active CLI context. Throws outside setupContext unless NODE_ENV=test.
getCliReportersRead the active CLI reporters. Falls back to silent defaults in tests.
setupContextBuilds and runs CLI context and reporter storage for commander programs.