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/interfaces/TerminalProgressOptions.md.
  • 简体中文
  • Interface: TerminalProgressOptions

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

    终端进度条选项。

    Properties

    PropertyTypeDescriptionDefined in
    stream?WritableStream输出流(默认 process.stderr)logs/terminal-progress.ts:15
    logger?ProgressLogFn非 TTY 时节流输出带条形图的进度日志logs/terminal-progress.ts:17
    stepPercent?number非 TTY 步进百分比(默认 5)logs/terminal-progress.ts:19
    forceBar?boolean强制开关;默认检测 stream.isTTYlogs/terminal-progress.ts:21
    format?string-logs/terminal-progress.ts:22
    barCompleteChar?string-logs/terminal-progress.ts:23
    barIncompleteChar?string-logs/terminal-progress.ts:24