MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / open_help

Function open_help

crates/opencode-server/src/routes.rs:3778–3786  ·  view source on GitHub ↗
(State(state): State<Arc<ServerState>>)

Source from the content-addressed store, hash-verified

3776}
3777
3778async fn open_help(State(state): State<Arc<ServerState>>) -> Result<Json<bool>> {
3779 enqueue_tui_request(
3780 &state,
3781 "/tui/open-help",
3782 serde_json::json!({ "command": "help.show" }),
3783 )
3784 .await;
3785 Ok(Json(true))
3786}
3787
3788async fn open_sessions(State(state): State<Arc<ServerState>>) -> Result<Json<bool>> {
3789 enqueue_tui_request(

Callers

nothing calls this directly

Calls 1

enqueue_tui_requestFunction · 0.85

Tested by

no test coverage detected