Command reference
oko strategy apply
Applies a company strategy document, read from standard input, to the member's organization through the database function that owns the write.
Invocation#
oko strategy apply < strategy.jsonInputs and options#
- The document on standard input, with a northStar object.
Output and state effect#
- Writes the strategy and prints `{orgId, applied: true}`.
Refusals and safe exits#
- `oko strategy takes load or apply; got <verb>` (exit 2); `the strategy document on standard input is not readable: <error>`; `Invalid company strategy document: northStar is missing`; `the strategy document cannot be encoded: <error>`; `Company strategy synchronization failed: <detail>`.