Skip to content

Commit a5b5633

Browse files
montfortclaude
andauthored
fix: align framework update output with CLI update format (#7)
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) <noreply@anthropic.com>
1 parent 4ba4573 commit a5b5633

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "devtrail-cli"
3-
version = "1.0.2"
3+
version = "1.0.3"
44
edition = "2021"
55
description = "CLI tool for DevTrail - Documentation Governance for AI-Assisted Development"
66
license = "MIT"

cli/src/commands/update_framework.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ pub fn run() -> Result<()> {
2525
// Load current checksums
2626
let current_checksums = Checksums::load(&target)?;
2727
if !current_checksums.version.is_empty() {
28-
println!(
29-
" {} {}",
30-
"Current version:".dimmed(),
31-
current_checksums.version
32-
);
28+
utils::info(&format!("Current version: {}", current_checksums.version));
3329
}
3430

3531
// Fetch latest release
@@ -50,7 +46,6 @@ pub fn run() -> Result<()> {
5046
semver::Version::parse(display_version),
5147
) {
5248
if latest <= current {
53-
println!();
5449
utils::success(&format!(
5550
"Framework is already at the latest version ({})",
5651
current_checksums.version

0 commit comments

Comments
 (0)