diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-23 14:50:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-23 14:50:01 +0900 |
| commit | 7e45efd8a1f488b1a684f9efe31ff39009fc9e54 (patch) | |
| tree | ba3a9cf2af9c4c383ccd7e68ab52e7e7d8de1601 /crates/mozart/src/commands/create_project.rs | |
| parent | 6cf5f6363f416b558753d44bee9ec536ddf7c06c (diff) | |
| download | php-mozart-7e45efd8a1f488b1a684f9efe31ff39009fc9e54.tar.gz php-mozart-7e45efd8a1f488b1a684f9efe31ff39009fc9e54.tar.zst php-mozart-7e45efd8a1f488b1a684f9efe31ff39009fc9e54.zip | |
fix(cli): align install/update output with Composer conventions
- Migrate eprintln\! to Console for consistent colored output
- Use Composer terminology in lock file operations: Locking instead of
Installing, Upgrading/Downgrading instead of Updating
- Add is_downgrade() helper to distinguish upgrades from downgrades
- Pass Console through install_from_lock for proper output handling
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands/create_project.rs')
| -rw-r--r-- | crates/mozart/src/commands/create_project.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/mozart/src/commands/create_project.rs b/crates/mozart/src/commands/create_project.rs index 2a8ce4f..da8108c 100644 --- a/crates/mozart/src/commands/create_project.rs +++ b/crates/mozart/src/commands/create_project.rs @@ -505,6 +505,7 @@ pub async fn execute( download_only: false, prefer_source: args.prefer_source, }, + console, ) .await?; |
