Show local wiki node, edge, and citation counts.
(
user_id: str = typer.Option(..., "--user-id", "-u", help="PaperFlow user ID."),
json_output: bool = typer.Option(False, "--json", help="Print JSON instead of text."),
)
| 285 | """Search wiki nodes for a user.""" |
| 286 | args = ["search", query, "--user-id", user_id, "--limit", str(limit)] |
| 287 | if node_type: |
| 288 | args.extend(["--type", node_type]) |
| 289 | if json_output: |
| 290 | args.append("--json") |
| 291 | raise typer.Exit(code=_run_wiki(*args)) |
| 292 | |
| 293 | |
| 294 | @wiki_app.command("stats") |
| 295 | def wiki_stats( |
| 296 | user_id: str = typer.Option(..., "--user-id", "-u", help="PaperFlow user ID."), |
| 297 | json_output: bool = typer.Option(False, "--json", help="Print JSON instead of text."), |
| 298 | ) -> None: |
nothing calls this directly
no test coverage detected