sndev.io / docs

pull

Snapshot instance reference data for offline preflight.

The pull command writes <manifest-dir>/.sn-pulls/<basename>.pull.json — a snapshot of the tables, roles, scopes, action types, trigger types, and choice values your instance currently exposes. sn preflight --offline and sn execute --offline read this cache to answer instance-aware checks without live HTTP calls.

sn pull <manifest.ts>

Write a reference-data snapshot alongside the manifest.

Arguments

NameRequiredDescription
manifest.tsYesPath to the manifest file.

Examples

sn pull manifests/payroll/manifest.ts
Pulling reference data from dev12345…
✓ Pull cache written to manifests/payroll/.sn-pulls/manifest.pull.json
1842 tables · 287 roles · 42 scopes · 418 action types · 18 trigger types · 124 choice values (2 fields)

Cached pulls expire after 7 days. sn preflight --offline refuses to use a stale cache — re-run sn pull when that happens, or drop --offline to fall back to live checks.