diff options
Diffstat (limited to 'crates/mozart/src/commands/about.rs')
| -rw-r--r-- | crates/mozart/src/commands/about.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/mozart/src/commands/about.rs b/crates/mozart/src/commands/about.rs index 04c3aa1..6b97ec4 100644 --- a/crates/mozart/src/commands/about.rs +++ b/crates/mozart/src/commands/about.rs @@ -1,6 +1,6 @@ use clap::Args; use mozart_core::MOZART_VERSION; -use mozart_core::console; +use mozart_core::console::IoInterface; use mozart_core::console_writeln; #[derive(Args)] @@ -9,10 +9,10 @@ pub struct AboutArgs {} pub async fn execute( _args: &AboutArgs, _cli: &super::Cli, - console: &console::Console, + io: std::sync::Arc<std::sync::Mutex<Box<dyn IoInterface>>>, ) -> anyhow::Result<()> { console_writeln!( - console, + io, r#"<info>Mozart - Dependency Manager for PHP - version {MOZART_VERSION}</info> <comment>Mozart is a dependency manager tracking local dependencies of your projects and libraries. See https://getcomposer.org/ for more information.</comment>"#, |
