importscope is organized around six top-level commands:
checkto validate the setupinitto create or inspect config fileconfigto edit common config fields without hand-editing YAMLprofilesto inspect available output bundlesanalyzeto generate graphs and other artifactsinspectto query specific results (e.g. a problematic import edge)
Default Workflow
If you are standing in the target repo root, the shortest useful workflow is:
importscope check
importscope init
importscope config exclude add 'tests/**'
importscope analyze
importscope inspect path mypackage.api mypackage.core --highlight
Those commands rely on the built-in defaults:
- repo: current directory
- config: auto-discovered
.importscope.ymlwhen present - analyze output:
.cache/importscope - inspect snapshot:
.cache/importscope/analysis_snapshot.json
Only add flags when you need to override that default flow.
