feat: complete structured CLI output

- unify human, plain, and JSON CLI output modes

- standardize diagnostics, lifecycle events, colors, quiet, and verbose handling

- preserve argument forwarding and improve CLI help and summaries

- document and release version 0.9.5
This commit is contained in:
2026-10-21 18:28:31 +08:00
parent bfd2b9d251
commit 0f456b4201
63 changed files with 2619 additions and 1317 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "dcr"
version = "0.9.0"
version = "0.9.5"
edition = "2024"
build = "build.rs"
description = "DCR is a utility for managing C/C++ projects in a Cargo-like style."
@@ -75,6 +75,11 @@ serde_json = "1"
ctrlc = "3"
fatfs = { version = "0.3", optional = true }
# Logging
log = "0.4.34"
env_logger = "0.11.11"
owo-colors = { version = "4", features = ["supports-colors"] }
[profile.release]
opt-level = "z"
lto = "thin"
@@ -97,4 +102,4 @@ debug = "line-tables-only"
[profile.dev.package."*"]
opt-level = 1
debug = false
debug = false