sync tooling
holocron sync tooling [--dry-run]A tooling provider keeps a tool in step with the repo: it pushes the repo’s API definitions, request collections and environments to a workspace. setup already runs each provider’s sync(), but only after every other step the config declares (the vault, the deployment domain, DNS), so pushing a collection needed all of those to be reachable. sync tooling runs the tooling providers and nothing else.
providers: { tooling: [ ["postman", { workspace: "Holocron", collectionFiles: ["api/webhook.collection.json"], envFiles: ["api/webhook.environment.json"] }], ],},Run it from the app’s folder, so the provider’s relative paths resolve there:
holocron sync tooling --cwd apps/comlinkBehavior
Section titled “Behavior”- Only the providers it needs. It loads the
toolingproviders and thecredentialsprovider a plugin’s token may come from (for example the 1Password Environment holdingHOLOCRON_POSTMAN_TOKEN). The vault, the deployment, DNS and every other provider are not loaded, called or reported, so one that is unreachable cannot fail this run. - One row per provider. Rows print like every
doctor <capability>, thenN ok, N fail, N skipped. A provider that throws is a failing row with its message, the others still run, and the exit code is 1 if any row fails. A config with notoolingprovider is a failing row that says where to set one. --dry-runnames each provider aswould syncand calls none.- No confirmation. Like
setup, it makes the tool match what the repo declares: it creates what is missing and replaces what the repo declares, and removes nothing else. What it replaces is the provider’s own; see the Postman plugin for whatsyncdoes there.
Options
Section titled “Options”| Option | Default | Description |
|---|---|---|
--dry-run |
false |
Name what each provider would sync, only |
--cwd |
. |
The folder holding the holocron.config.* |
Tokens
Section titled “Tokens”Each plugin reads its token through the usual chain (--token, the environment, .env, the credentials providers, the keyring). The command needs the plugin packages of the tooling providers to resolve, as every command that calls a provider does.