Skip to content

chainabit chain from-bit-dag ​

Create a reusable Chain from explicitly configured Bits; does not execute it

Synopsis ​

text
chainabit chain from-bit-dag --input <json> [options]

Options ​

OptionDescriptionDefault
--input <json>Composition JSON with Bit IDs, expected revisions and execution profile IDs. Required.—

Options shared by every command are described in Global options and shared behavior.

Behavior ​

Creates a reusable Chain from selected configured Bits, expected revisions and execution profiles. It uses the CLI's internal mutation idempotency identity and does not execute the new Chain. Stale revisions must be reread before a new composition.

Validation ​

Use a JSON object containing bitIds, expectedBitRevisions and executionProfileIds, keyed by the selected Bit IDs, plus a title for a new Chain. Revision values are decimal strings, not timestamps. Replace sample revisions/profile IDs with current values; the CLI manages its own operation identity.

Examples ​

bash
chainabit chain from-bit-dag --input '{"title":"Reference workflow","bitIds":["00000000-0000-4000-8000-000000000001"],"expectedBitRevisions":{"00000000-0000-4000-8000-000000000001":"1"},"executionProfileIds":{"00000000-0000-4000-8000-000000000001":"00000000-0000-4000-8000-000000000002"}}'

Built with purpose. chainabit.com