Command reference

oko-cli subscription-router

Collects subscription availability/cost from the model router, Weles, and local catalog fallback.

Invocation

oko-cli subscription-router [--json] [--config PATH] [--weles-subscriptions-url URL]

Inputs and options

  • --json selects raw JSON output.
  • --config selects routing config; --weles-subscriptions-url overrides its Weles endpoint.

Output and state effect

  • Writes ~/.oko/subscription-router.snapshot.json and prints the snapshot or rendered summary.

Refusals and safe exits

  • Rejects service redirects and unsafe/unavailable source responses; config, collection serialization, or snapshot writes fail the command.