Documentation
¶
Overview ¶
Command fetchspec is the acquisition stage of the device-management SDK pipeline. It downloads Apple's schema repo (apple/device-management) at a pinned commit, parses every YAML spec, and writes the committed snapshot tree (metadata/specs/<category>/<name>.json) plus provenance.
Codegen (cmd/gendm) is offline and deterministic from the committed snapshots; moving to a new upstream commit is a deliberate, reviewed act (cmd/specdiff renders what changed).
go run ./device_management/cmd/fetchspec # pinned commit go run ./device_management/cmd/fetchspec -discover # latest upstream commit go run ./device_management/cmd/fetchspec -dir <path> # offline: parse a local checkout
Click to show internal directories.
Click to hide internal directories.