MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / get_available_commands

Function get_available_commands

crates/chat-cli/src/cli/chat/prompt.rs:151–156  ·  view source on GitHub ↗

Generate dynamic command list including experiment-based commands when enabled

(os: &Os)

Source from the content-addressed store, hash-verified

149
150/// Generate dynamic command list including experiment-based commands when enabled
151pub fn get_available_commands(os: &Os) -> Vec<&'static str> {
152 let mut commands = COMMANDS.to_vec();
153 commands.extend(ExperimentManager::get_commands(os));
154 commands.sort();
155 commands
156}
157
158pub type PromptQuerySender = tokio::sync::broadcast::Sender<PromptQuery>;
159pub type PromptQueryResponseReceiver = tokio::sync::broadcast::Receiver<PromptQueryResult>;

Calls

no outgoing calls