use clap::Args; use mozart_core::MOZART_VERSION; use mozart_core::console; use mozart_core::console_format; #[derive(Args)] pub struct AboutArgs {} pub async fn execute( _args: &AboutArgs, _cli: &super::Cli, console: &console::Console, ) -> anyhow::Result<()> { console.write_stdout( &console_format!( "Mozart - Dependency Manager for PHP - version {MOZART_VERSION}", ), console::Verbosity::Normal, ); console.write_stdout( &console_format!("Mozart is a dependency manager tracking local dependencies of your projects and libraries. See https://getcomposer.org/ for more information."), console::Verbosity::Normal, ); Ok(()) }