GetAllCommands

Function GetAllCommands 

Source
pub fn GetAllCommands() -> ActionEffect<Arc<dyn CommandExecutor>, CommonError, Vec<String>>
Expand description

Creates an effect that, when executed, will retrieve a list of all currently registered command identifiers.

This includes both native commands implemented in Rust and proxied commands contributed by external sidecars. It uses the CommandExecutor capability from the environment to perform the operation.

ยงReturns

An ActionEffect that resolves with a Vec<String> of command identifiers. The capability required to run this effect is an Arc<dyn CommandExecutor>.