List local variables in a function.
(function: str, file: str)
| 493 | |
| 494 | |
| 495 | def variables_list(function: str, file: str): |
| 496 | """List local variables in a function.""" |
| 497 | state = _load_state() |
| 498 | result = _safe_get(state, "/symbols/variables", {"function": function, "file": file}) |
| 499 | print(json.dumps(result, indent=2)) |
| 500 | return result |
| 501 | |
| 502 | |
| 503 | def cmd_exec(args: argparse.Namespace) -> None: |
nothing calls this directly
no test coverage detected