MCPcopy Create free account
hub / github.com/JaredStewart/coderlm / cmd_cleanup

Function cmd_cleanup

plugin/skills/coderlm/scripts/coderlm_cli.py:371–381  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

369
370
371def cmd_cleanup(args: argparse.Namespace) -> None:
372 state = _load_state()
373 if not state.get("session_id"):
374 print("No active session.")
375 return
376
377 base = _base_url(state)
378 sid = state["session_id"]
379 result = _request("DELETE", f"{base}/sessions/{sid}")
380 _clear_state()
381 print(f"Session {sid} deleted.")
382
383
384def cmd_batch(args: argparse.Namespace) -> None:

Callers

nothing calls this directly

Calls 5

_load_stateFunction · 0.85
_base_urlFunction · 0.85
_requestFunction · 0.85
_clear_stateFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected