mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-20 22:22:57 +03:00
92 lines
1.3 KiB
Markdown
92 lines
1.3 KiB
Markdown
---
|
|
name: cli-routing
|
|
description: Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively.
|
|
---
|
|
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
|
|
|
|
## Overview
|
|
|
|
Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively.
|
|
|
|
## Quick install
|
|
|
|
```bash
|
|
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:**
|
|
|
|
```bash
|
|
omniroute suggest
|
|
```
|
|
|
|
### `combo combo`
|
|
|
|
**Example:**
|
|
|
|
```bash
|
|
omniroute combo combo
|
|
```
|
|
|
|
### `combo list`
|
|
|
|
List configured routing combos
|
|
|
|
**Flags:**
|
|
|
|
- `--json`
|
|
|
|
**Example:**
|
|
|
|
```bash
|
|
omniroute combo list
|
|
```
|
|
|
|
### `combo switch <name>`
|
|
|
|
Activate a routing combo
|
|
|
|
**Example:**
|
|
|
|
```bash
|
|
omniroute combo switch <name>
|
|
```
|
|
|
|
### `combo create <name>`
|
|
|
|
Create a new routing combo
|
|
|
|
**Example:**
|
|
|
|
```bash
|
|
omniroute combo create <name>
|
|
```
|
|
|
|
### `combo delete <name>`
|
|
|
|
Delete a routing combo
|
|
|
|
**Flags:**
|
|
|
|
- `--yes`
|
|
|
|
**Example:**
|
|
|
|
```bash
|
|
omniroute combo delete <name>
|
|
```
|