Skip to content

v0.9.5 - Структурированный вывод CLI / Structured CLI Output

Choose a tag to compare

@dexoron dexoron released this 21 Oct 15:37
· 2 commits to master since this release

RU

Добавлено:

  • Человекочитаемый, plain- и JSON-режимы вывода в стиле Cargo с общими хелперами вывода.
  • Явная обработка --color auto|always|never, NO_COLOR, --quiet и --verbose.
  • Структурированные события жизненного цикла сборки и JSON-диагностика компилятора.
  • Сценарии CLI output sandbox для help, жизненного цикла, диагностики, ошибок и broken pipe.

Исправлено:

  • Единообразная маршрутизация stdout/stderr и обработка цветов во всех основных командах.
  • Глобальный парсер опций теперь останавливается на subcommand и сохраняет аргументы после --.
  • Перенаправленный вывод подпроцессов теперь захватывается конкурентно в output lab.

EN

Added:

  • Cargo-like human, plain, and JSON output modes with shared output helpers.
  • Explicit --color auto|always|never, NO_COLOR, --quiet, and --verbose handling.
  • Structured build lifecycle events and JSON compiler diagnostics.
  • CLI output sandbox scenarios for help, lifecycle, diagnostics, errors, and broken pipes.

Fixed:

  • Consistent stdout/stderr routing and color handling across the main commands.
  • Global option parsing now stops at the subcommand and preserves arguments after --.
  • Redirected subprocess output is captured concurrently in the output lab.

Download dcr