cli-tunnel

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
<!-- 由 src/lib/agentSkills/generator.ts 生成;手动编辑将被覆盖 -->

Overview

概述

Start and stop tunnel connections (ngrok, Cloudflare, custom) from the CLI. Inspect active tunnel URLs, configure authentication, and test external reachability.
通过 CLI 启动和停止隧道连接(ngrok、Cloudflare、自定义)。查看活动隧道 URL,配置身份验证并测试外部可达性。

Quick install

快速安装

bash
npm install -g omniroute   # or: npx omniroute
omniroute --version
bash
npm install -g omniroute   # 或:npx omniroute
omniroute --version

Subcommands

子命令

tunnel

tunnel

Example:
bash
omniroute tunnel
示例:
bash
omniroute tunnel

tunnel list

tunnel list

Flags:
  • --json
Example:
bash
omniroute tunnel list
参数:
  • --json
示例:
bash
omniroute tunnel list

tunnel create [type]

tunnel create [type]

Example:
bash
omniroute tunnel create [type]
示例:
bash
omniroute tunnel create [type]

tunnel stop <type>

tunnel stop <type>

Flags:
  • --yes
Example:
bash
omniroute tunnel stop <type>
参数:
  • --yes
示例:
bash
omniroute tunnel stop <type>

tunnel status <type>

tunnel status <type>

Flags:
  • --json
Example:
bash
omniroute tunnel status <type>
参数:
  • --json
示例:
bash
omniroute tunnel status <type>

tunnel logs <type>

tunnel logs <type>

Flags:
  • --tail <n>
Example:
bash
omniroute tunnel logs <type>
参数:
  • --tail <n>
示例:
bash
omniroute tunnel logs <type>

tunnel info <type>

tunnel info <type>

Flags:
  • --json
Example:
bash
omniroute tunnel info <type>
参数:
  • --json
示例:
bash
omniroute tunnel info <type>

tunnel rotate <type>

tunnel rotate <type>

Flags:
  • --yes
Example:
bash
omniroute tunnel rotate <type>
参数:
  • --yes
示例:
bash
omniroute tunnel rotate <type>