Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

917 B
Raw Blame
export function registerProvider(program) {
  program
    .command("provider [subcommand]")
    .description("Manage provider connections (use 'providers' for the full interface)")
    .allowUnknownOption()
    .allowExcessArguments()
    .action(() => {
      console.log(`
  Use \`omniroute providers\` for the full provider management interface:

    omniroute providers available   — show provider catalog
    omniroute providers list        — list configured connections
    omniroute providers test <name> — test a provider connection
    omniroute providers test-all    — test all active connections
    omniroute providers validate    — validate local configuration
    omniroute providers add <id>    — add an API-key connection
    omniroute providers auth <id>   — start an existing OAuth flow
    omniroute providers remove <id> — remove a connection (requires confirmation)
`);
    });
}