From be1b163ba101db8ee932a80451d5cfcd61dfd10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Villase=C3=B1or=20Montfort?= <195970+montfort@users.noreply.github.com> Date: Thu, 19 Mar 2026 08:26:21 -0600 Subject: [PATCH] fix: align framework update output with CLI update format Remove extra blank line before success message and use utils::info for current version display so both update-framework and update-cli follow the same output pattern. Co-Authored-By: Claude Opus 4.6 (1M context) --- cli/Cargo.toml | 2 +- cli/src/commands/update_framework.rs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3499b5b..2ef348e 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "devtrail-cli" -version = "1.0.2" +version = "1.0.3" edition = "2021" description = "CLI tool for DevTrail - Documentation Governance for AI-Assisted Development" license = "MIT" diff --git a/cli/src/commands/update_framework.rs b/cli/src/commands/update_framework.rs index 8363df5..f128f8b 100644 --- a/cli/src/commands/update_framework.rs +++ b/cli/src/commands/update_framework.rs @@ -25,11 +25,7 @@ pub fn run() -> Result<()> { // Load current checksums let current_checksums = Checksums::load(&target)?; if !current_checksums.version.is_empty() { - println!( - " {} {}", - "Current version:".dimmed(), - current_checksums.version - ); + utils::info(&format!("Current version: {}", current_checksums.version)); } // Fetch latest release @@ -50,7 +46,6 @@ pub fn run() -> Result<()> { semver::Version::parse(display_version), ) { if latest <= current { - println!(); utils::success(&format!( "Framework is already at the latest version ({})", current_checksums.version