# runtime/entrypoints/closure.entrypoint.ts

> 8 lines of code and 1 definition.

Tree: Project Scripts
Language: typescript
Layer: runtime
Canonical: https://banes-lab.com/anatomy/scripts#file-scripts-runtime-entrypoints-closure-entrypoint-ts
Source text: https://banes-lab.com/source/scripts/runtime/entrypoints/closure.entrypoint.ts.txt

Listed in [runtime/entrypoints](https://banes-lab.com/api/source/scripts/runtime/entrypoints.md), before [runtime/entrypoints/coverage.entrypoint.ts](https://banes-lab.com/source/scripts/runtime/entrypoints/coverage.entrypoint.ts.md).

## Definitions

- `graph` (lexical_declaration, line 7)

## Contained in

- [runtime/entrypoints](https://banes-lab.com/anatomy/scripts/folder-scripts-runtime-entrypoints.md)

## Source

```typescript
import { buildClosureGraph, graphCounts } from "#core/coordinators/closure.coordinator";
import { absolutePath } from "@ssot/paths";
import { graphLine } from "#configuration/strings/closure.strings";
import { persistReport } from "#core/persistence/report.persistence";
import process from "node:process";

const graph = buildClosureGraph(absolutePath("app.member"));
await persistReport(absolutePath("govlabHost.reports.lint.closureGraph"), graph);
process.stdout.write(graphLine(graphCounts(graph)));
```
