diff --git a/crates/assistant/src/slash_command/delta_command.rs b/crates/assistant/src/slash_command/delta_command.rs index a37d33e2af5619c72925f416c9baafa0d2119d63..c9985d9f00e8dd409e248e7638e1459f8c0fbc2a 100644 --- a/crates/assistant/src/slash_command/delta_command.rs +++ b/crates/assistant/src/slash_command/delta_command.rs @@ -1,5 +1,5 @@ use crate::slash_command::file_command::{FileCommandMetadata, FileSlashCommand}; -use anyhow::Result; +use anyhow::{anyhow, Result}; use assistant_slash_command::{ ArgumentCompletion, SlashCommand, SlashCommandOutput, SlashCommandOutputSection, SlashCommandResult, @@ -38,7 +38,7 @@ impl SlashCommand for DeltaSlashCommand { _workspace: Option>, _cx: &mut WindowContext, ) -> Task>> { - unimplemented!() + Task::ready(Err(anyhow!("this command does not require argument"))) } fn run(