mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Integrated into release/v3.8.8. Applied review fixes: moved the SELECT 1 into a pingDb() db helper (no raw SQL in route, Hard Rule #5) + the 503 catch no longer leaks err.message (Hard Rule #12). Thanks @herjarsa!
1.3 KiB
1.3 KiB
name, description
| name | description |
|---|---|
| cli-routing | Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively. |
Overview
Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
suggest
Flags:
--max-cost <usd>--max-latency-ms <ms>--weights <json>--top <n>--explain--switch
Example:
omniroute suggest
combo combo
Example:
omniroute combo combo
combo list
List configured routing combos
Flags:
--json
Example:
omniroute combo list
combo switch <name>
Activate a routing combo
Example:
omniroute combo switch <name>
combo create <name>
Create a new routing combo
Example:
omniroute combo create <name>
combo delete <name>
Delete a routing combo
Flags:
--yes
Example:
omniroute combo delete <name>