Skip to content

feat(cli): expose circular dependency detection#1012

Open
jiangyq9 wants to merge 1 commit into
colbymchenry:mainfrom
jiangyq9:feat/circular-import-command
Open

feat(cli): expose circular dependency detection#1012
jiangyq9 wants to merge 1 commit into
colbymchenry:mainfrom
jiangyq9:feat/circular-import-command

Conversation

@jiangyq9

Copy link
Copy Markdown

Summary

  • add a codegraph cycles [path] CLI command backed by the existing circular dependency detector
  • support --json for scripts/CI and a readable text output for humans
  • cover both cyclic and acyclic projects with an end-to-end CLI regression test

Fixes #888

Testing

  • pnpm exec tsc --noEmit
  • pnpm exec vitest run tests/cli-cycles.test.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: circular import detection via MCP tool + CLI subcommand

1 participant