UNPKG

bktide

Version:

Command-line interface for Buildkite CI/CD workflows with rich shell completions (Fish, Bash, Zsh) and Alfred workflow integration for macOS power users

20 lines 666 B
/** * Spinner compatibility layer * Uses the new unified Progress API internally */ import { Progress } from './progress.js'; /** * Create a spinner using the new Progress API * This maintains backward compatibility while using the unified implementation */ export function createSpinner(format) { const progress = Progress.spinner(undefined, { format }); return { start: (text) => progress.update(text, text), setText: (text) => progress.update(text, text), stop: () => progress.stop(), succeed: (text) => progress.complete(text), fail: (text) => progress.fail(text) }; } //# sourceMappingURL=spinner.js.map