Remove orphaned nodes and relationships from the database. This will clean up nodes that are not connected to any repository, helping to keep your database tidy and performant.
(
context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use")
)
| 1069 | |
| 1070 | @app.command() |
| 1071 | def clean( |
| 1072 | context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use") |
| 1073 | ): |
| 1074 | """ |
| 1075 | Remove orphaned nodes and relationships from the database. |
| 1076 | |
| 1077 | This will clean up nodes that are not connected to any repository, |
| 1078 | helping to keep your database tidy and performant. |
| 1079 | """ |
| 1080 | _load_credentials() |
| 1081 | clean_helper(context) |
| 1082 | |
| 1083 | @app.command() |
| 1084 | def stats( |
nothing calls this directly
no test coverage detected