aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/global.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/global.rs')
-rw-r--r--crates/mozart/src/commands/global.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/mozart/src/commands/global.rs b/crates/mozart/src/commands/global.rs
index 1cde2c1..a646f7a 100644
--- a/crates/mozart/src/commands/global.rs
+++ b/crates/mozart/src/commands/global.rs
@@ -13,7 +13,7 @@ pub struct GlobalArgs {
// ─── Main entry point ────────────────────────────────────────────────────────
-pub fn execute(
+pub async fn execute(
args: &GlobalArgs,
cli: &super::Cli,
console: &mozart_core::console::Console,
@@ -40,7 +40,7 @@ pub fn execute(
argv.extend(args.args.iter().cloned());
let new_cli = super::Cli::try_parse_from(&argv)?;
- crate::commands::execute(&new_cli)
+ Box::pin(crate::commands::execute(&new_cli)).await
}
// ─── Helpers ─────────────────────────────────────────────────────────────────