(&self)
| 4862 | /// @returns Array of CommandInfo objects sorted by name |
| 4863 | #[napi] |
| 4864 | pub fn list_commands(&self) -> Vec<CommandInfo> { |
| 4865 | self.inner |
| 4866 | .command_registry() |
| 4867 | .list_full() |
| 4868 | .into_iter() |
| 4869 | .map(|(name, description, usage)| CommandInfo { |
| 4870 | name, |
| 4871 | description, |
| 4872 | usage, |
| 4873 | }) |
| 4874 | .collect() |
| 4875 | } |
| 4876 | |
| 4877 | /// Cancel the current ongoing operation (send/stream). |
| 4878 | /// |
nothing calls this directly
no test coverage detected