aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.lock
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-22 22:53:09 +0900
committernsfisis <nsfisis@gmail.com>2026-02-22 22:53:22 +0900
commit6f3802fd9f39c4e5847d130b4417b5cdfb66972d (patch)
tree166cca2cf0645d280bfa376a513a049c70241dea /Cargo.lock
parent1d33728151b282949e7e14646e722d7775de4453 (diff)
downloadphp-mozart-6f3802fd9f39c4e5847d130b4417b5cdfb66972d.tar.gz
php-mozart-6f3802fd9f39c4e5847d130b4417b5cdfb66972d.tar.zst
php-mozart-6f3802fd9f39c4e5847d130b4417b5cdfb66972d.zip
refactor(console): add console_format! proc macro and migrate all commands
Introduce a Symfony Console-style tag macro that replaces verbose patterns like `console::info(&format!("text {name}"))` with `console_format!("<info>text {name}</info>")`. Supports all 6 tag types (info, comment, error, question, highlight, warning) with format argument distribution across multiple tagged segments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock11
1 files changed, 11 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 81ad0a7..1788a06 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1130,12 +1130,23 @@ dependencies = [
]
[[package]]
+name = "mozart-console-macros"
+version = "0.1.0"
+dependencies = [
+ "mozart-core",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "mozart-core"
version = "0.1.0"
dependencies = [
"anyhow",
"colored",
"dialoguer",
+ "mozart-console-macros",
"mozart-spdx-licenses",
"regex",
"serde",