Module: @kosko/cli#

Index#

References#

Classes#

Functions#

References#

handleError#

Re-exports: handleError

Functions#

handleError#

handleError(err: unknown): void

Defined in packages/cli/src/cli/error.ts:32

Parameters:#

NameType
errunknown

Returns: void


run#

run(argv?: string[]): Promise<void>

Defined in packages/cli/src/index.ts:9

Runs CLI with the given arguments.

Parameters:#

NameTypeDefault value
argvstring[]process.argv.slice(2)

Returns: Promise<void>