MCPcopy
hub / github.com/bombshell-dev/clack / start

Function start

packages/prompts/src/progress-bar.ts:54–57  ·  view source on GitHub ↗
(msg = '')

Source from the content-addressed store, hash-verified

52 };
53
54 const start = (msg = '') => {
55 previousMessage = msg;
56 spin.start(drawProgress('initial', msg));
57 };
58 const advance = (step = 1, msg?: string): void => {
59 value = Math.min(max, step + value);
60 spin.message(drawProgress('active', msg ?? previousMessage));

Callers

nothing calls this directly

Calls 2

drawProgressFunction · 0.85
startMethod · 0.80

Tested by

no test coverage detected