For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/logs/functions/createTerminalProgress.md.
  • 简体中文
  • Function: createTerminalProgress()

    function createTerminalProgress(opts?: TerminalProgressOptions): ProgressHandle;

    Defined in: logs/terminal-progress.ts:200

    创建进度句柄。TTY 时画 bar;非 TTY 时按步进打 logger。

    Parameters

    ParameterType
    optsTerminalProgressOptions

    Returns

    ProgressHandle