CLI

larkx impact

What depends on this file?

Usage

bash
larkx impact <filepath>

Example

bash
larkx impact src/utils/crypto.ts

# → These files depend on src/utils/crypto.ts:
#     src/auth/login.ts
#     src/auth/session.ts

When to use

  • Before deleting a file
  • Before renaming an export
  • Before changing a function signature
  • Estimating refactor scope

How it works

Scans the imports edges in the graph for any edge whose target is the file you asked about. Returns the unique source files.