Atlas
v2.0.01Built by Yash Sakre

atlas analyze

Scan the project and write JSON analysis output.

Usage
atlas analyze [root] [options]

Overview

Runs the AST pipeline and writes the structured analysis to the output directory: assets, usage, graph, dead code, architecture, the npm dependency inventory and the static-asset report. Use it in CI, to diff results over time, or to feed other tools — nothing is served and nothing opens.

This is the only command that writes into your repo. See Analysis outputs for every file it produces.

Options

FlagDefaultDescription
-r, --root <dir>cwdProject root to analyze. Also accepted as a positional path argument.
-o, --out-dir <dir>.atlasDirectory for analysis output and cache.
--no-cacheDisable the incremental cache and analyze every file fresh.

Examples

# Write analysis JSON to .atlas/
atlas analyze

atlas analyze ./packages/ui --out-dir reports/ui
atlas analyze --no-cache

On this page