Saltearse al contenido

Spinner

@aurorajs.dev/catalyst-cli


@aurorajs.dev/catalyst-cli / deploy/ports/logger.port / Spinner

Defined in: deploy/ports/logger.port.ts:6

Progress indicator returned by LoggerPort.step. Backed by ora in the default adapter. Call exactly one of succeed / fail / warn to close the spinner.

fail(text): void

Defined in: deploy/ports/logger.port.ts:8

Stop the spinner with a red failure mark and the given message.

string

void


succeed(text): void

Defined in: deploy/ports/logger.port.ts:10

Stop the spinner with a green check and the given message.

string

void


warn(text): void

Defined in: deploy/ports/logger.port.ts:12

Stop the spinner with a yellow warning mark and the given message.

string

void