# Feature catalog — chromaui/chromatic-cli

> Canonical page: https://codevetter.com/unpack/chromatic-cli/feature-catalog

# Feature catalog — chromaui/chromatic-cli

Scanned commit 9e2606a2dbc11bcd07e7e451431432e32de0224b (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Publishing supports locally built web Storybooks and prebuilt output, with hosted verification and visual-result reporting. Users can constrain stories, apply branch policies, initialize archive integrations, or build React Native artifacts. Auxiliary commands expose dependency tracing and manifest inspection, while Node consumers can reserve temporary share URLs. Diagnostics, metadata, and JUnit output provide operational visibility alongside terminal messages and Action outputs.
- The main publishing path runs the discovered build script or a custom buildCommand; storybookBuildDir bypasses the web build and sends existing artifacts through preparation and upload. — [node-src/tasks/build/index.ts#L70-L117](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/tasks/build/index.ts#L70-L117) [node-src/tasks/build/setBuildCommand.ts#L70-L99](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/tasks/build/setBuildCommand.ts#L70-L99)
- Options expose branch-scoped auto acceptance, exit-zero-on-changes, exit-once-uploaded, skip, force-rebuild, patch builds, and story file/name filters; incompatible filter combinations and malformed patch pairs are rejected. — [node-src/lib/parseArguments.ts#L31-L49](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/lib/parseArguments.ts#L31-L49) [node-src/lib/getOptions.ts#L233-L270](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/lib/getOptions.ts#L233-L270) [node-src/tasks/snapshot.ts#L164-L191](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/tasks/snapshot.ts#L164-L191)
- TurboSnap's onlyChanged mode selects affected story files, with externals and untraced controls; background v2 hash collection also runs when onlyChanged is unset unless explicitly disabled. — [node-src/lib/parseArguments.ts#L38-L42](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/lib/parseArguments.ts#L38-L42) [node-src/lib/turbosnap/index.ts#L22-L53](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/lib/turbosnap/index.ts#L22-L53) [node-src/lib/turbosnap/isHashCollectionDisabled.ts#L3-L14](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/lib/turbosnap/isHashCollectionDisabled.ts#L3-L14)
- chromatic init offers Storybook, Playwright, Cypress, and Vitest setup, adds a chromatic package script, and installs framework archive dependencies for the three archive integrations; buildCommand selection routes E2E options through getE2EBuildCommand. — [bin-src/init.ts#L79-L119](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/bin-src/init.ts#L79-L119) [bin-src/init.ts#L168-L190](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/bin-src/init.ts#L168-L190) [node-src/tasks/build/setBuildCommand.ts#L91-L99](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/tasks/build/setBuildCommand.ts#L91-L99)
- React Native publishing can reuse artifacts plus manifest.json or build missing artifacts and generate the manifest; standalone react-native-build and generate-manifest commands expose those operations, and initialization rejects TurboSnap for native apps. — [node-src/tasks/build/index.ts#L32-L67](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/tasks/build/index.ts#L32-L67) [bin-src/register.js#L5-L16](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/bin-src/register.js#L5-L16) [node-src/tasks/initialize/index.ts#L82-L87](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/tasks/initialize/index.ts#L82-L87)
- JUnit reporting substitutes {buildNumber}, queries tests in 1,000-item pages, and writes XML; diagnostics and uploadMetadata provide local context output and hosted debugging files. — [node-src/tasks/report.ts#L85-L151](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/tasks/report.ts#L85-L151) [node-src/lib/writeChromaticDiagnostics.ts#L16-L29](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/lib/writeChromaticDiagnostics.ts#L16-L29) [node-src/lib/uploadMetadataFiles.ts#L36-L78](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/lib/uploadMetadataFiles.ts#L36-L78)
- Utility commands include trace for changed-file dependency paths, trim-stats-file for simplified stats JSON, and turbosnap-manifest for serialized v2 hashes on stdout; trace rejects package manifests because it cannot diff their contents. — [bin-src/trace.ts#L109-L119](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/bin-src/trace.ts#L109-L119) [bin-src/trimStatsFile.ts#L26-L55](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/bin-src/trimStatsFile.ts#L26-L55) [bin-src/turbosnapManifest.ts#L97-L107](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/bin-src/turbosnapManifest.ts#L97-L107)
- Programmatic run returns build URLs and test/capture counts that the Action exports; share returns a reserved URL and optional expiry with progress/error/cancellation callbacks, while isChromatic detects the browser user agent or chromatic=true URL marker. — [node-src/index.ts#L159-L176](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/index.ts#L159-L176) [action-src/main.ts#L212-L218](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/action-src/main.ts#L212-L218) [node-src/share.ts#L19-L45](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/node-src/share.ts#L19-L45) [isChromatic.js#L3-L9](https://github.com/chromaui/chromatic-cli/blob/9e2606a2dbc11bcd07e7e451431432e32de0224b/isChromatic.js#L3-L9)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
