(args: argparse.Namespace)
| 237 | |
| 238 | |
| 239 | def cmd_search(args: argparse.Namespace) -> None: |
| 240 | state = _load_state() |
| 241 | params = {"q": args.query} |
| 242 | if args.limit is not None: |
| 243 | params["limit"] = args.limit |
| 244 | if args.file is not None: |
| 245 | params["file"] = args.file |
| 246 | _output(_get(state, "/symbols/search", params)) |
| 247 | |
| 248 | |
| 249 | def cmd_impl(args: argparse.Namespace) -> None: |
nothing calls this directly
no test coverage detected