Introduce a new /workflow command (#15854)

This subsumes the previous built-in prompt.

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2024-08-06 16:18:07 +02:00 committed by GitHub
parent 889a14a2c2
commit 411934bb61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 85 additions and 50 deletions

View file

@ -31,7 +31,7 @@ use settings::{update_settings_file, Settings, SettingsStore};
use slash_command::{
active_command, default_command, diagnostics_command, docs_command, fetch_command,
file_command, now_command, project_command, prompt_command, search_command, symbols_command,
tabs_command, term_command,
tabs_command, term_command, workflow_command,
};
use std::sync::Arc;
pub(crate) use streaming_diff::*;
@ -260,6 +260,7 @@ fn register_slash_commands(cx: &mut AppContext) {
slash_command_registry.register_command(now_command::NowSlashCommand, true);
slash_command_registry.register_command(diagnostics_command::DiagnosticsSlashCommand, true);
slash_command_registry.register_command(docs_command::DocsSlashCommand, true);
slash_command_registry.register_command(workflow_command::WorkflowSlashCommand, true);
slash_command_registry.register_command(fetch_command::FetchSlashCommand, false);
}