Generate dynamic command list including experiment-based commands when enabled
(os: &Os)
| 149 | |
| 150 | /// Generate dynamic command list including experiment-based commands when enabled |
| 151 | pub 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 | |
| 158 | pub type PromptQuerySender = tokio::sync::broadcast::Sender<PromptQuery>; |
| 159 | pub type PromptQueryResponseReceiver = tokio::sync::broadcast::Receiver<PromptQueryResult>; |
no outgoing calls